0
P4nda
4y

Hi, in my JS project I have to update a variable value that is getting a text input's value in order to use it dynamically with different functions across my program. What would be the best approach to doing this?

Should I make a function that updates the variable for every character typed or should I simply get the value when the function is called?

Thanks!

Comments
Add Comment