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

Path csiph.com!aioe.org!.POSTED!not-for-mail
From "Chris M. Thomasson" <nospam@nospam.nospam>
Newsgroups comp.lang.javascript
Subject Re: Found a bug in javascript see what it printout
Date Sun, 17 Jan 2016 11:42:40 -0800
Organization Aioe.org NNTP Server
Lines 23
Message-ID <n7gqrt$frb$1@gioia.aioe.org> (permalink)
References <4ab38ff8-e97b-43cb-9077-b5ca6ee23ea1@googlegroups.com>
NNTP-Posting-Host tgyzFHfWAzLqeM18VEaESg.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Priority 3
X-Notice Filtered by postfilter v. 0.8.2
X-MSMail-Priority Normal
X-Newsreader Microsoft Windows Live Mail 15.4.3508.1109
X-MimeOLE Produced By Microsoft MimeOLE V15.4.3508.1109
Importance Normal
Xref csiph.com comp.lang.javascript:29290

Show key headers only | 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