ES6 Class lost after being declaration in console
Reported by
riophae...@gmail.com,
May 18 2016
|
|
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.108 Chrome/49.0.2623.108 Safari/537.36
Steps to reproduce the problem:
1. open console
2. declare a ES6 class: `class Test {}`
3. create a instance of the class: `new Test()`
4. it says "Uncaught ReferenceError: Test is not defined(…)"
What is the expected behavior?
A instance of the class should be successfully created.
What went wrong?
The class is strangely lost after being declaration.
Did this work before? N/A
Chrome version: 49.0.2623.108 Channel: stable
OS Version: Ubuntu 16.04
Flash Version:
,
May 18 2016
Thanks! |
|
►
Sign in to add a comment |
|
Comment 1 by jonathan.garbee@chromium.org
, May 18 20165.7 KB
5.7 KB View Download