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


Groups > comp.lang.javascript > #29322

Re: Found a bug in javascript see what it printout

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Found a bug in javascript see what it printout
Date Mon, 18 Jan 2016 19:59:35 +0100
Organization PointedEars Software (PES)
Lines 51
Message-ID <3610642.bVce6HhO8U@PointedEars.de> (permalink)
References <4ab38ff8-e97b-43cb-9077-b5ca6ee23ea1@googlegroups.com> <n7gqrt$frb$1@gioia.aioe.org>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1453143577 10063 eJwFwQkBwDAIA0BL4QtMzlrAv4TehVF40xn02FhIyo/isXDWNTiGeoaQMu+clE7uR3HdVjz3AQ/Y (18 Jan 2016 18:59:37 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Mon, 18 Jan 2016 18:59:37 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwQkBACAIBLBKwgFKHN7+EdwURlZXTE10dWUosza3CVv8/EWFdTWUU2mqk1ek083Ad9xPXHTBTy5iPpAdFt0=
Cancel-Lock sha1:GkqQh6MbliFHnL0FgJ/oSPTEC2s=
X-NNTP-Posting-Host eJwFwYEBwDAEBMCV6j2ScQj2H6F3pi7+gm5OW1t0GOrqqdpmJPqrkBegApNypVvp1DM5b+IHGeURKQ==
Xref csiph.com comp.lang.javascript:29322

Show key headers only | View raw


Chris M. Thomasson wrote:

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

That is an attribution novel, not a proper attribution.  Not only is it too 
long, the name of the author is missing.  Also, the quotation level is 
wrong: the attribution line that *you* create is obviously not part of the 
quoted text, so it must not have a quotation character.  If your newsreader 
software (Windows Live Mail) cannot be configured properly, get a better 
one, such as KNode or Thunderbird/Icedove.

> [...]
> 
> 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
> 
> ;^)

1. There is no “Javascript” (see also my sig).

2. It is worse than described in that article.  The code above will throw a 
   ReferenceError exception in strict mode if base etc. do not resolve to
   the property of an object or have not been declared identifiers of
   variables.  Or, if they resolve to properties of an object, and those
   properties can or cannot be written to, anything can happen, depending on
   the object and the property.  (The latter is independent of the execution 
   mode.)  We have discussed this here many times before.

3. The From header field value of your posting violates RFC 5536 and 
   disregards netiquette.  While that may be acceptable to a source of
   trolls such as aioe.org, in Usenet it is not.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

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