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


Groups > comp.lang.javascript > #29290

Re: Found a bug in javascript see what it printout

From "Chris M. Thomasson" <nospam@nospam.nospam>
Newsgroups comp.lang.javascript
Subject Re: Found a bug in javascript see what it printout
Date 2016-01-17 11:42 -0800
Organization Aioe.org NNTP Server
Message-ID <n7gqrt$frb$1@gioia.aioe.org> (permalink)
References <4ab38ff8-e97b-43cb-9077-b5ca6ee23ea1@googlegroups.com>

Show all headers | View raw


> wrote in message 
> news:4ab38ff8-e97b-43cb-9077-b5ca6ee23ea1@googlegroups.com...

[...]

AFAICT, you really need to drill down on the (var) keyword...
_____________________
> function main(){
> base=10;
> outStr="";
> prime=false;
> primeleg=false;
> j=1;
> i=j;
}
_____________________

The above can be really dangerous!

http://scribu.net/blog/javascript-var-keyword-for-php-developers.html

;^) 

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


Thread

Found a bug in javascript see what it printout jonas.thornvall@gmail.com - 2016-01-16 15:14 -0800
  Re: Found a bug in javascript see what it printout jonas.thornvall@gmail.com - 2016-01-16 15:24 -0800
  Re: Found a bug in javascript see what it printout "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-16 16:05 -0800
  Re: Found a bug in javascript see what it printout "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-01-17 11:42 -0800
    Re: Found a bug in javascript see what it printout Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-18 19:59 +0100
      Re: Found a bug in javascript see what it printout "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-01-18 11:19 -0800

csiph-web