Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

document v8 4.2 es6 additions #332

Closed
Fishrock123 opened this issue May 4, 2015 · 3 comments
Closed

document v8 4.2 es6 additions #332

Fishrock123 opened this issue May 4, 2015 · 3 comments

Comments

@Fishrock123
Copy link
Contributor

See nodejs/node#1610

@rajit
Copy link

rajit commented May 5, 2015

Quick summary, in case it helps:

CLI Options

--harmony_modules (enable "harmony modules (implies block scoping)" (in progress))
type: bool default: false
--harmony_arrays (enable "harmony array methods" (in progress))
type: bool default: false
--harmony_array_includes (enable "harmony Array.prototype.includes" (in progress))
type: bool default: false
--harmony_regexps (enable "harmony regular expression extensions" (in progress))
type: bool default: false
--harmony_arrow_functions (enable "harmony arrow functions" (in progress))
type: bool default: false
--harmony_proxies (enable "harmony proxies" (in progress))
type: bool default: false
--harmony_unicode (enable "harmony unicode escapes" (in progress))
type: bool default: false
--harmony_unicode_regexps (enable "harmony unicode regexps" (in progress))
type: bool default: false
--harmony_computed_property_names (enable "harmony computed property names" (in progress))
type: bool default: false
--harmony_rest_parameters (enable "harmony rest parameters" (in progress))
type: bool default: false
--harmony_tostring (enable "harmony toString")
type: bool default: false
--harmony_numeric_literals (enable "harmony numeric literals")
type: bool default: true
--harmony_strings (enable "harmony string methods")
type: bool default: true
--harmony_scoping (enable "harmony block scoping")
type: bool default: true
--harmony_templates (enable "harmony template literals")
type: bool default: true
--harmony_classes (enable "harmony classes (implies block scoping & object literal extension)")
type: bool default: true
--harmony_object_literals (enable "harmony object literal extensions")
type: bool default: true

True-by-default

  • Numeric literals (octal, binary & hexadecimal literals)
  • String methods (.startsWith, .endsWith, .fromCodePoint, .codePointAt, .includes, .normalize, .repeat, .trimLeft, .trimRight, [@@iterator], .rawHi\n${2+3}``)
  • Block scoping (let ...)
  • Template literals (Hello, ${name})
  • Classes (class Dog { bark() { ... } })
  • Object literals ({ name, address, company })

@fhemberger
Copy link
Contributor

@rajit Thanks, Rajit.

@bnb
Copy link

bnb commented Jun 22, 2015

This is an issue that can be handled by the Docs WG. I've marked it as invalid and docs to ensure its responsibility is handed to the Docs WG. If you want to discuss this issue, see nodejs/docs#10.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants