Bitvested/ta.js

for loop without 'var' causes errors in some environments

Closed this issue · 1 comments

C451 commented

Hello,

Running your cool lib in electron and caught an error: for some reason node requires 'var' in the for loop:

https://github.com/Bitvested/ta.js/blob/main/index.js#L404

image

Hi, it should be fixed now.
Let me know if you encounter any other issues.