Finally the Promise.prototype.finally() is available Serg Hospodarets Blog Since the Promises were added in JavaScript, one of the biggest concerns was the absence of an ability to easily apply some code after the Promise is fulfilled (after both success and reject actions). There are many examples of such a need: showing a loader when the request to the server is in flight or even a simpler case-
In this article we’ll take a look at regular expressions in and after ES6. There’s a couple of regular expressions flags which were introduced in ES6: the /y or sticky flag, and the /u or Unicode flag. Then we’ll discuss five proposals which are making their way through the ECMAScript specification development process at TC39. Sticky Matching Flag /y The sticky matching y flag introduced in ES6 is
Warning: This blog post is outdated. Instead, read section “globalThis” in “Exploring JavaScript”. The ECMAScript proposal “global” by Jordan Harband is currently at stage 3. It provides a new standard way of accessing the global object. Referring to the global object # The following are a few popular ways of referring to the global object: Global variables: Global variable window: is the classic
Update 2018-01-25: This proposal has reached stage 4 and will be part of ECMAScript 2018. The ECMAScript proposal “Rest/Spread Properties” by Sebastian Markbåge enables: The rest operator (...) in object destructuring. At the moment, this operator only works for Array destructuring and in parameter definitions. The spread operator (...) in object literals. At the moment, this operator only works i
A proposal to implement weak references in JavaScript – which would expose weak references made possible by WeakMap and WeakSet – is currently sitting at stage 0. Time for another ECMAScript proposal draft. This time we’ll discuss WeakRef. Weak references had their first – indirect – appearance in ES6, with the arrival of WeakMap and WeakSet. The Background and Intended Audience sections, found be
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く