I've always wanted const params! (Haven't had time to put any kind of proposal together though). @ryanflorence
-
-
function x(...y) { /* strict because ...y added in ES2015 */ }
-
right - not invisible!
-
semantics based on which version of JS a feature was added bad as
@domenic forcefully argued in SF -
don't shift goalposts to "bad", admit it, your "invisible" was inaccurate.
-
of course I didn't mean to imply it wasn't speccable.
-
strict: function x() { new.target } function x(y=z) {} function x(...y) {} 1/
-
not: function x() { return {get y() {}} } function x(y) {} function x() { arguments } 2/2
-
super -> strict, function* -> strict. What about function() { yield } (still supported in FF)
- 1 more reply
New conversation -
-
-
not invisible -- just nonlocal.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.