This blog post explains the so-called TC39 process, which governs how ECMAScript features are designed, starting with ECMAScript 2016 (ES7).
This blog post examines three ways of executing function sequentially:
The ECMAScript 6 specification defines in which order the properties of an object should be traversed. This blog post explains the details.
This is a list of a few ECMAScript 6 features and what their influences were:
This blog post describes the proposed ECMAScript feature “call constructor” (stage 1).
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:
typeof
cause a ReferenceError
for a variable in the TDZ?The classic command for running a simple web server from a shell is:
python -m SimpleHTTPServer [«port»]
As a result, files are served at http://localhost:«port»
, with 8000 being the default if you omit the port.
When statically generating HTML content, you face an interesting challenge: If the page frame (the “chrome” of a page) contains information that changes frequently, you need to re-generate all pages every time it does. One example of such information is a top 10 list of the pages that were most popular during the last 30 days.