nwb
nwb copied to clipboard
Map Object transpilation
This issue is a:
- Bug report
I am using nwb latest version
I am trying to do const newMap = new Map({'test':1}) const arr = [...newMap]
expected to be arr = ['test']
when i do build using nwb i get arr=[new MapOperator()]
Please help
Found a work around we can use
instead of const arr= [...newMap]
do
const arr = Array.from(newMap)