You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
After the release of ECMAScript 2015, a.k.a. ES6, the ECMAScript Language Specification is evolving rapidly: it’s getting many new features that will help developing web applications, with a new release planned every year. Last week, Firefox Nightly 54 reached 100% on the Kangax ECMAScript 2016+ compatibility table that currently covers ECMAScript 2016 and the ECMAScript 2017 draft. Here are some
High-Speed ES2015 Benedikt Meurer Google Munich @bmeurer
Show navigation Over the last couple of months the V8 team focused on bringing the performance of newly added ES2015 and other even more recent JavaScript features on par with their transpiled ES5 counterparts. Motivation #Before we go into the details of the various improvements, we should first consider why performance of ES2015+ features matter despite the widespread usage of Babel in modern we
ES6 Features Arrow Functions A short hand notation for function(), but it does not bind this in the same way. no-eval var odds = evens.map(v => v + 1); // no parentes and no brackets var nums = evens.map((v, i) => v + i); var pairs = evens.map(v => ({even: v, odd: v + 1})); // Statement bodies nums.forEach(v => { if (v % 5 === 0) fives.push(v); }); How does this work? var object = { name: "Name",
In the previous article Native ECMAScript modules: the new features and differences from Webpack modules we understood the differences between ES modules and their implementation in bundlers/compilers like Webpack/Babel. So far we found couple gotchas and know how to use the import \ export declarations and which caveats we may have using them in JS. But JavaScript went asynchronous many years ago
Get the book Read online for free. Buy the ebook (DRM-free PDF, EPUB, MOBI) and support my work. About the book “Exploring ES2016 and ES2017”: Covers what’s new in ECMAScript 2016 and ECMAScript 2017. If you want to know more about the rest of JavaScript, consult Axel’s other books. About the author Dr. Axel Rauschmayer specializes in JavaScript and web development. He blogs, writes books and teac
es6-feature-detection.js �; ʪ� �H ʪ� var str = 'class ಠ_ಠ extends Array {constructor(j = "a", ...c) {const q = (({u: e}) => {return { [`s${c}`]: Symbol(j) };})({});super(j, q, ...c);}}' + 'new Promise((f) => {const a = function* (){return "\u{20BB7}".match(/./u)[0].length === 2 || true;};for (let vre of a()) {' + 'const [uw, as, he, re] = [new Set(), new WeakSet(), new Map(), new WeakMap()];break;
One of the prettiest features of ES6, it could easily win a beauty contest, if such a contest would be held. What many people don’t know is that the arrow function is not simply a form of syntactic sugar that we can use instead of the regular callback. As I like to explain it to the people who attend my trainings/workshops, arrow functions are this-less, arguments-less, new.target-less and super-l
Задача: инициализировать массив и заполнить значениями. Раньше задача решалась строкой: var a = Array.apply(null, {length: 8}).map(Number.call, Number);Но сейчас же уже конец 2016 года (считай что уже 2017). И пишем мы давно не на ES5, а на ES2016+… Array.fillЕсть такой метод: Array.fill — заполняет все элементы массива от начального до конечного индексов одним значением. Но его минус в том, что о
ECMAScript Daily そういえば、ECMAScript DailyというECMAScriptの情報サイトをやってます。 2015年12月ぐらいに始めたので、1年ぐらい経ってましたがそういえばブログ書いてないことに気づいたので書いています。 基本的にはJSer.infoのECMAScript特化版という位置づけで、基本的な更新スタンスはJSer.infoとは変わらないです。 週一とかではなくて、新しい情報がでたら直接更新のスタイルなので、Realtime JSer.info(JSer.infoのリアルタイム版)の方がより近いです。 記事自体もほぼリンクだけに近いので、Twitter(@EcmascriptDaily)で見たほうが分かりやすいかもしれません。 Follow @EcmascriptDaily 週1でまとめて見たい場合はECMAScript Dailyからメールマガジン
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く