Issue metadata
Sign in to add a comment
|
Typeof == null, let vs var
Reported by
harryto...@gmail.com,
Jun 21 2016
|
||||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
Steps to reproduce the problem:
Try running this in console:
for (let i=0; i<4917; i++) {console.log(typeof null === 'undefined')}
All false.
for (let i=0; i<4918; i++) {console.log(typeof null === 'undefined')}
All false except for one.
for (let i=0; i<10000; i++) {console.log(typeof null === 'undefined')}
4917 false
5083 true
for (let i=0; i<20000; i++) {console.log(typeof null === 'undefined')}
4917 false
15083 true
What is the expected behavior?
Always false.
What went wrong?
Not sure of the cause, but the problem is in the steps to reproduce.
Did this work before? N/A
Chrome version: 51.0.2704.84 Channel: stable
OS Version: OS X 10.10.2
Flash Version: Shockwave Flash 22.0 r0
,
Jun 23 2016
Looks fixed on Canary.
,
Jun 23 2016
Issue 622628 has been merged into this issue.
,
Jun 28 2016
Unable to repro this issue on MAC (10.11.5) for Google Chrome Canary Version - 53.0.2781.2 Screen-recording is attached. @harrytorry: Could you please update your Chrome Canary Version - 53.0.2781.2 and let us know your observations. Thank you.
,
Jun 28 2016
Please merge this into issue 604033
,
Jun 28 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by harryto...@gmail.com
, Jun 21 2016