8466 shaares
203 private links
203 private links
13[isOdd]
returns true. Funny.
How to do it ?
- Use Symbols to create unique keys
Object.defineProperty()
with the symbol- Passing parameters with a function :)
Metho simplifies this process with a simple method.
Metho project: https://github.com/jonrandy/metho