2015-11

ES proposal: Trailing commas in function parameter lists and calls

[2015-11-27] dev, javascript, esnext, es proposal

The following ECMAScript proposal is at stage 3: “Trailing commas in function parameter lists and calls” by Jeff Morrison. This blog post explains it.

ES proposal: string padding

[2015-11-26] dev, javascript, esnext, es proposal

The ECMAScript proposal “String padding” by Jordan Harband & Rick Waldron is part of ECMAScript 2017. This blog post explains it.

ES proposal: Object.entries() and Object.values()

[2015-11-20] dev, javascript, esnext, es proposal

The following ECMAScript proposal is at stage 4: “Object.values/Object.entries” by Jordan Harband. This blog post explains it.

The TC39 process for ECMAScript features

[2015-11-15] dev, javascript, esnext, es proposal

This blog post explains the so-called TC39 process, which governs how ECMAScript features are designed, starting with ECMAScript 2016 (ES7).

Synchronous and asynchronous sequential execution of functions

[2015-11-03] dev, javascript, esnext, async

This blog post examines three ways of executing function sequentially:

  • Synchronously
  • Asynchronously, via Promises
  • Asynchronously, via the library co

2015-10

Reader survey 2015

[2015-10-25] 2ality

The traversal order of object properties in ES6

[2015-10-24] dev, javascript, esnext

The ECMAScript 6 specification defines in which order the properties of an object should be traversed. This blog post explains the details.

Influences on ECMAScript 6

[2015-10-21] dev, javascript, esnext

This is a list of a few ECMAScript 6 features and what their influences were:

ES proposal: function-callable classes

[2015-10-20] dev, javascript, es proposal

This blog post describes the proposed ECMAScript feature “call constructor” (stage 1).

Why is there a “temporal dead zone” in ES6?

[2015-10-19] dev, javascript, esnext

In ECMAScript 6, accessing a let or const variable before its declaration (within its scope) causes a ReferenceError. The time span when that happens, between the creation of a variable’s binding and its declaration, is called the temporal dead zone.

For more information, consult Sect. “The temporal dead zone” in “Exploring ES6”. Here, I’d like to answer two questions:

  • Why is there a temporal dead zone?
  • Why does typeof cause a ReferenceError for a variable in the TDZ?