Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #13569

Syntax question '/a-b;'

From "Joey@still_Learning.invalid" <Joey@still_Learning.invalid>
Newsgroups comp.lang.javascript
Subject Syntax question '/a-b;'
Date 2012-04-24 09:50 -0700
Message-ID <79mdp71k9r37eeeurnhcif3ecfvh9vbbu7@4ax.com> (permalink)

Show all headers | View raw


I'm looking at a js script and I've come across syntax that's foreign in
meaning to me. Could someone explain what

width = width/2-150;

Means? I don't understand what the 2-150 is all about, but when I change
the 150, my 'stuff' renders differently.
-- 
Joey

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Syntax question '/a-b;' "Joey@still_Learning.invalid" <Joey@still_Learning.invalid> - 2012-04-24 09:50 -0700
  Re: Syntax question '/a-b;' "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-04-24 19:59 +0300
    Re: Syntax question '/a-b;' "Joey@still_Learning.invalid" <Joey@still_Learning.invalid> - 2012-04-24 11:32 -0700
      Re: Syntax question '/a-b;' Swifty <steve.j.swift@gmail.com> - 2012-04-26 14:56 +0100

csiph-web