Should be able to put the console into strict mode
Categories
(DevTools :: Console, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: fitzgen, Unassigned)
Details
Attachments
(3 files)
|
4.64 KB,
patch
|
Details | Diff | Splinter Review | |
|
40.87 KB,
image/png
|
Details | |
|
10.73 KB,
patch
|
Details | Diff | Splinter Review |
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•7 years ago
|
Comment 16•4 years ago
|
||
Big +1 for this.
While thinking about https://github.com/tc39/proposal-record-tuple I've been wondering: if/when this is added to EcmaScript I can see people using their browser console to teach/learn about using records and tuples. I can see people potentially developing the wrong intuition that trying to assign to a record/tuple is always a silent error. Unaware of the difference to strict mode.
With constructs like es-modules and classes, and build tools like TypeScript putting code into strict-mode by default. I think it is possibly becoming less 'common knowledge' that sloppy mode is even a thing to be aware of, let alone the differences in behavior. There may come a time where it makes sense for devtool style consoles to be in strict mode by default.
Updated•3 years ago
|
Description
•