You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some functions that create SVG elements, for example lines, these functions return the last position x, y. When I pass x and y from one function to another it does not update the x and y values, however if I put a console log in between or encapsulate the call within an IIFE this works fine, there is really a problem here
I have some functions that create SVG elements, for example lines, these functions return the last position x, y. When I pass x and y from one function to another it does not update the x and y values, however if I put a console log in between or encapsulate the call within an IIFE this works fine, there is really a problem here
OSX 14.6.1 (23G93)
Chrome version: 127.0.6533.120 (Build oficial) (arm64)
This doesn't work well, the x and y variables are not updated
Now it works fine, but the code is practically the same, I think there is an evaluation problem.
It also works well if instead of the console.log I do some operation without repercussions, for example:
It also works fine if I encapsulate the function calls in IIFE, example:
I share the complete script with you
index.html.json
OK
BUG
The text was updated successfully, but these errors were encountered: