google / traceur-compiler

Traceur is a JavaScript.next-to-JavaScript-of-today compiler
Apache License 2.0
8.18k stars 578 forks source link

Add abstraction for private symbols #2020

Closed arv closed 8 years ago

arv commented 8 years ago

Add the following runtime functions:

(These are all own property)

The motivation is that we can then use a WeakMap if it is natively supported.

arv commented 8 years ago

@johnjbarton Just the last commit... There are already PRs for the previous commits.