Posts by Kazuo • 11 points
2 posts
-
0
votes2
answers65
viewsA: I cannot assign the input field value entered by the user to a variable
Generally, when the same code works by the browser console and the script does not work, it may be something related to when the code is called. Javascript is an asynchronous language, so it does…
-
1
votes3
answers105
viewsA: How to change the value of a variable with a function?
The variable will not change the value this way because when vc passes as argument, javascript is passing a copy of the variable value and not the memory pointer of the variable itself. To change…