Changelog

tc39/ecma262 · · 16 commits

Promise.try semantics tightened, many editorial cleanup

Promise.try now uses PromiseResolve on success, alongside broad editorial refactors and template-literal cleanup.

Promise.try now resolves through PromiseResolve (bakkot9235b15)

The non-error path now returns PromiseResolve(_ctor_, ! _status_) instead of creating a capability and calling its resolve function directly. This aligns Promise.try more closely with the standard promise-resolution machinery.

Editorial cleanup across internal-method links, time names, and templates

Several spec sections were regularized for terminology and structure, including clearer time-value aliases, better internal-method linking, and template-literal grammar simplifications. These are mostly readability and consistency improvements, but they touch a lot of text and make the spec easier to maintain.

Other misc changes

  • ecmarkup bumped to 25.0.1
  • Minor editorial wording tweaks across SetFunctionName, Module Environment Records, and related notes
  • Small mechanical MV / indexed-access refactors in array algorithms