Defining a prototype on "Array" breaks Symbols loading
Opened this issue · 2 comments
EmaGht commented
The problem is here:
Line 47 in 563ec6a
at this point "values" is an Array, so every function declared as a prototype on the "Array" type will be iterated and called.
This should be protected with "hasOwnProperty"
saivan commented
It should just be for(var v of syms[s].values)
EmaGht commented
It should just be
for(var v of syms[s].values)
What do you mean?