ECMAScript 2019, the planned next version of the specification serving as the basis of JavaScript, is moving forward. The first two proposals havw reached the “finished” stage thus far.
These proposals include:
Symbol.prototype.description
, an accessor property whoseset accessor
is undefined. Itsget accessor
function performs steps including: Lets
be this value, letsym
be?
thisSymbolValue(s)
, and returnsym
.[[Description]]
. The goal of this feature is to expose the[[Description]]
internal slot of a symbol directly instead of only indirectly throughSymbol.prototype.toString
.- Changes to
Function.prototype.toString
. Revisions have been proposed such as implementations not being required to retain source text for all functions defined using ECMAScript code.