From 5d6bd6cf96b4ff8bbffe533383b77cb5d678908f Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Mon, 2 Jan 2017 05:48:10 +0200 Subject: [PATCH] Use ES2015 instead of E6 in README, website, etc --- README.md | 2 +- doc/low-memory.rst | 2 +- website/guide/luacomparison.html | 4 ++-- website/index/index.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c4647466c0..ea9d26e432 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Main features: * Minimal platform dependencies * Combined reference counting and mark-and-sweep garbage collection with finalization * Custom features like co-routines -* Property virtualization using a subset of Ecmascript E6 Proxy object +* Property virtualization using a subset of Ecmascript E2015 Proxy object * Bytecode dump/load for caching compiled functions * Distributable includes an optional logging framework, CommonJS-based module loading implementations, etc diff --git a/doc/low-memory.rst b/doc/low-memory.rst index 8f7e203be7..8d3ad18c31 100644 --- a/doc/low-memory.rst +++ b/doc/low-memory.rst @@ -217,7 +217,7 @@ NOTE: This list is not exhaustive, see ``config/examples/low_memory.yaml``. - ``#undef DUK_USE_JC`` -* Features borrowed from Ecmascript E6 can usually be disabled +* Features borrowed from Ecmascript ES2015 can usually be disabled (not exhaustive): - ``#undef DUK_USE_ES6_OBJECT_SETPROTOTYPEOF`` diff --git a/website/guide/luacomparison.html b/website/guide/luacomparison.html index 389d53abc2..29e13bd0ed 100644 --- a/website/guide/luacomparison.html +++ b/website/guide/luacomparison.html @@ -76,7 +76,7 @@

Bytecode dump/load

Metatables

There is no equivalent of Lua metatables in Ecmascript E5/E5.1, but -Ecmascript E6 Proxy objects +Ecmascript ES2015 Proxy objects provide similar functionality. To allow property virtualization better than available in E5/E5.1, Duktape implements an ES2015 Proxy subset.

@@ -105,7 +105,7 @@

Coroutines

Multiple return values

Lua supports multiple return values, Duktape (or Ecmascript) currently -doesn't. This may change with Ecmascript E6, which has a syntax for +doesn't. This may change with Ecmascript ES2015, which has a syntax for multiple value returns. The Duktape/C API reserves return values above 1 so that they may be later used for multiple return values.

diff --git a/website/index/index.html b/website/index/index.html index dacb25ce7e..d074d991b9 100644 --- a/website/index/index.html +++ b/website/index/index.html @@ -55,7 +55,7 @@

Main features

  • Combined reference counting and mark-and-sweep garbage collection with finalization
  • Coroutines
  • -
  • Property virtualization using a subset of Ecmascript E6 Proxy object
  • +
  • Property virtualization using a subset of Ecmascript ES2015 Proxy object
  • Bytecode dump/load for caching compiled functions
  • Distributable includes an optional logging framework, CommonJS-based module loading implementations, etc