I Like Kill Nerds The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member. You might have noticed I have been writing about ES6 a lot lately. This is because I am excited about ES6 and thanks to the use of transpilers we can actually use it right now until browsers catch up. What are Javascript classes? In many ways, th
Jafar Husain discusses interesting features that can be used today in JS6, such as Object.observe, async functions and async generators, while also giving a peek at what's being explored for JS7 to make async programming easier.
Updated version of this blog post: Chapter “Variables and scoping” in “Exploring ES6”. This blog post examines how variables and scoping are handled in ECMAScript 6 [1]. Block scoping via let and const # Both let and const create variables that are block-scoped – they only exist within the innermost block that surrounds them. The following code demonstrates that the let-declared variable tmp only
README.md 1 Motivating examples: 1.1 Conditional implementation Conditional code generation: class Debug { @conditional("debug") static assert(condition: boolean, message?: string): void; } Debug.assert(false); // if window.debug is not defined Debug.assert is replaced by an empty function class Person { constructor(public firstName: string, public lastName: string) { } @computed('firstName', 'las
January 28, 2015 Meeting Notes Brian Terlson (BT), Jonathan Turner (JT), Allen Wirfs-Brock (AWB), John Neumann (JN), Rick Waldron (RW), Jeff Morrison (JM), Erik Arvidsson (EA), Peter Jensen (PJ), Yehuda Katz (YK), Dave Herman (DH), Waldemar Horwat (WH), Dmitry Lomov (DL), Domenic Denicola (DD), Kevin Smith (KS), Andreas Rossberg (ARB), István Sebestyén (IS), Sam Tobin-Hochstadt (STH), Michael Fica
こんにちは会員事業部の丸山@h13i32maruです。 最近のWebフロントエンドの変化は非常に激しく、ちょっと目を離した間にどんどん新しいものが出てきますよね。そんな激しい変化の一つとしてES6という次期JavaScriptの仕様があります。このES6は現在策定中で、執筆時点ではDraft Rev31が公開されています。 JavaScriptはECMAScript(ECMA262)という仕様をもとに実装されています。 現在のモダンなWebブラウザはECMAScript 5.1th EditionをもとにしたJavaScript実行エンジンを搭載しています。 そして次のバージョンであるECMAScript 6th Editionが現在策定中で、略称としてES6という名前がよく使われます。 今回は、他の言語にはあってJavaScriptにも欲しいなと思っていた機能や、JavaScriptでよ
The blog post covers new features of strings in ECMAScript 6 (ES6). Unicode code point escapes # Unicode “characters” (code points) are 21 bit long [1]. JavaScript strings are (roughly) sequences of 16 bit characters, encoded as UTF-16. Therefore, code points beyond the first 16 bits of the code point range (the Basic Multilingual Pane, BMP) are represented by two JavaScript characters. Until now
In the world of enterprise JavaScript web development, the solutions being built, and the tools being used to build these solutions, are often written minimally to run in an ECMAScript 3 environment (aka ES3). You may wonder how this can be. After all, ECMAScript 5 was finalized in June 2011 and is supported by all modern browsers, including IE 9 (except for strict mode). In this article, I'll exa
Warning: This blog post is outdated. Instead, read chapter “Destructuring” and section “Parameter handling” in “Exploring JavaScript”. ECMAScript 6 (ES6) supports destructuring, a convenient way to extract values from data stored in (possibly nested) objects and arrays. This blog post describes how it works and gives examples of its usefulness. Additionally, parameter handling receives a significa
Now that ES6 has a finalized module definition (Right now still in draft phase), I’ve gone through and found some of the things that stick out to me as ‘need to knows’. It’s helpful to keep these few things in mind when working with the new module syntax. ES6 modules export bindings, not values. Exporting any primitive will be a ‘live’ value that can and will be changed by the imported module. T
Highlights This is a summary of the major changes you need to know about for this version of ESLint. Partial ECMAScript 6 support 0.12.0 introduces support for several ECMAScript 6 features, including: let and const Regular expression y flag Regular expression u flag Binary literals Octal literals for-of Generators Object literal syntax changes All of these options are off by default, and you can
Despite their name, template strings in ECMAScript 6 (ES6) are more like a different kind of function call than a mechanism for defining templates. This blog post explains how you can still use them for HTML templating. It is based on an idea by Claus Reinke. If you are not familiar with ES6 template strings, you may want to consult [1] before reading on. Defining and using a template # You defin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く