This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
v1.5.0
All new features have been added to the online playground!
The headline for this release is default parameter support:
const greet = name => console.log(`Hello, ${name}!`)
const sayHelloToPerson = greet(_.name = 'world')
sayHelloToPerson({ name: 'Arlene' })
// -> Hello, Arlene!
sayHelloToPerson({ /* nameless */ })
// -> Hello, world!
This is supported only as arguments in function calls, for basic & object placeholders.
Features
- add default parameter capability for basic placeholders & object placeholders (a7640ba)
Bug fixes
- fix template literal compilation so that member expression properties are ignored, ie.
_._
is not two placeholders and now compiles to_obj._
(e3a578b)