Template Literal Revision [1] is a welcome change, but still falls way short, as there's still no way to easily include the backtick itself inside raw text. I wish ES would adopt python-style triple-quotes, so you could do things like: String.raw```Look, this is a backtick: "`"``` (The inability to do this is a pain point when you want to embed a language in ES and that language itself makes use of backticks.) [1] ht…
ECMAScript 2018 Language Specification
11–20 of 49 posts
Re: ECMAScript 2018 Language Specification
#12Don't assume that the current snapshot is feature complete.
Re: ECMAScript 2018 Language Specification
#13I guess BigInt (i.e. native integer support) is only stage 3: https://github.com/tc39/proposal-bigint It's the feature I'd most like to see added.
Re: ECMAScript 2018 Language Specification
#14I guess BigInt (i.e. native integer support) is only stage 3: https://github.com/tc39/proposal-bigint It's the feature I'd most like to see added.
You can help out by contributing testing etc. in babel[0] or typescript
Re: ECMAScript 2018 Language Specification
#15I guess BigInt (i.e. native integer support) is only stage 3: https://github.com/tc39/proposal-bigint It's the feature I'd most like to see added.
Didn't even know that was on the docket, that's awesome. Would doing operations on them automatically cast them to float64? I know they offer integer typed arrays, but any mathematical operations will automatically cast them to float64, which is a bummer.
Re: ECMAScript 2018 Language Specification
#16Template Literal Revision [1] is a welcome change, but still falls way short, as there's still no way to easily include the backtick itself inside raw text. I wish ES would adopt python-style triple-quotes, so you could do things like: String.raw```Look, this is a backtick: "`"``` (The inability to do this is a pain point when you want to embed a language in ES and that language itself makes use of backticks.) [1] ht…
Won't this cause issues if i ever want to embed "```"?
Re: ECMAScript 2018 Language Specification
#17[0] http://2ality.com/2017/08/optional-catch-binding.html
[1] http://wiki.c2.com/?EmptyCatchClause
[2] https://github.com/tc39/proposal-optional-catch-binding/issu...
Re: ECMAScript 2018 Language Specification
#18It's not easy to tell from this document what has changed, but Dr. Axel Rauschmayer does a good job here http://2ality.com/2017/02/ecmascript-2018.html
A few paragraphs down, you should find: This specification introduces Async Functions, Shared Memory, and Atomics along with smaller language and library enhancements, bug fixes, and editorial updates. Async functions improve the asynchronous programming experience by providing syntax for promise-returning functions. Shared Memory and Atomics introduce a new memory model that allows multi-agent programs to communicat…
Re: ECMAScript 2018 Language Specification
#19Re: ECMAScript 2018 Language Specification
#20I wish the spec included a more bullet pointy changelog from the previous version, but at least it has this paragraph: This specification introduces Async Functions, Shared Memory, and Atomics along with smaller language and library enhancements, bug fixes, and editorial updates. Async functions improve the asynchronous programming experience by providing syntax for promise-returning functions. Shared Memory and Atom…