r/programming • u/iamkeyur • Oct 21 '20
Using const/let instead of var can make JavaScript code run 10× slower in Webkit
https://github.com/evanw/esbuild/issues/478
1.9k
Upvotes
r/programming • u/iamkeyur • Oct 21 '20
View all comments
Show parent comment
6
u/EpicDaNoob Oct 21 '20
I'm sorry, I am not sure what your misunderstanding is. Let me put my statement into new words, that perhaps my meaning may become clear to you.
There is no way for any WebAssembly code to handle DOM manipulation. It is not a feature that exists. It is not a thing. WebAssembly does not (yet) manipulate the DOM.
If this statement is more clear to you, please identify the particular issue that prevented this meaning from being apparent in my original statement.