Very fast and lightweight, standards-compliant, self-hosted javascript parser with high focus on both performance and stability
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-
Most web developers I talk to these days love writing JavaScript with all the newest language features—async/await, classes, arrow functions, etc. However, despite the fact that all modern browsers can run ES2015+ code and natively support the features I just mentioned, most developers still transpile their code to ES5 and bundle it with polyfills to accommodate the small percentage of users still
Beyond typeof and instanceof: simplifying dynamic type checks This blog post describes a technique for making instanceof applicable to more values (on the right-hand side). Specifically, for primitive values. Background: typeof vs. instanceof # In JavaScript, you have to choose when it comes to checking the type of a value. The rough rule of thumb is: typeof checks if a value is an element of a p
I’m excited to announce the release of @std/esm (standard/esm), an opt-in, spec-compliant, ECMAScript (ES) module loader that enables a smooth transition between Node and ES module formats with near built-in performance! This fast, small, zero-dependency package is all you need to enable ES modules in Node today 🎉🎉🎉 @std/esm used in the Node REPL after `npm --save @std/esm`A tale of two module
Consistency? What consistency? Where we’re going we don’t need any stinking consistency! #wtfjs #fucklogic pic.twitter.com/hrgI73ZOq3 — Lea Verou (@LeaVerou) 2017年8月7日 TC39 didn't want implicit conversion (e.g., via + '') but did want to allow explicit. Neither is too harsh. Both is secret/giant bug farm. — BrendanEich (@BrendanEich) 2017年8月7日 Symbol("foo").toString()とすると文字列に変換されるけど Symbol("foo")
ES2015 introduced many new features to the JavaScript language, including significant improvements to the regular expression syntax with the Unicode (/u) and sticky (/y) flags. But development has not stopped since then. In tight collaboration with other members at TC39 (the ECMAScript standards body), the V8 team has proposed and co-designed several new features to make regular expressions even m
Introduction In this chapter we continue our consideration of lexical environments. In the previous sub chapter 3.1 we clarified the general theory related with the topic. In particular we have learned that the concept of environments is closely related with concepts of static scope and closures. We have also said that ECMAScript uses the model of chained environment frames. And in this part we’ll
All About Recursion, PTC, TCO and STC in JavaScript 8th of May, 2017 — Lucas Fernandes da Costa at Florianópolis, Brazil 🇧🇷 Recently everyone seems to be really excited about functional programming and its concepts. However, many people don’t talk about recursion and, especially, about proper tail calls, which is really important when it comes to writing clean and concise code without exploding
Even though ES6 (ES2015) brought modules to the language, it missed one important thing - a loading method. Proper support is currently being implemented for browsers↗. To learn more about the topic, I’m interviewing Bradley Farias↗. # I am a Software Engineer at GoDaddy these days but have been at several startups before that. My childhood was mostly running around outside in the Texas heat and e
The Many Faces of Functions in JavaScriptPosted by Leo Balter If you’ve had any contact with JavaScript code, you’re probably very familiar with how to define and call functions, but are you aware of of how many different ways you can define a function? This is a common challenge of writing and maintaining tests in Test262—especially when a new feature comes into contact with any existing function
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く