Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: es-next
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.54 kb

This is an experitmental ES.next->ES5 transpiler.

What works:

  • the <| operator -- defines the [[Prototype]] of a literal (uses __proto__)
  • the .{ operator -- extends the LHS object with properties from an object literal
  • object literal property shorthand -- {x, y} -> {x: x, y: y}

What sort of works:

  • let and const declarations: no block scope for let
  • super propertry references: no early syntax errors

Install

npm install reflect-next

CLI

reflect-next example/person.js > compiled.js
node compiled.js
Jump to Line
Something went wrong with that request. Please try again.