+ 1

How to call fuction everytime with new value?

I want to call a fuction everytime with new input values but it runs with first time assigned value

17th Apr 2020, 3:49 PM
Akash s
Akash s - avatar
3 odpowiedzi
+ 3
Could you pls give your code.
17th Apr 2020, 4:03 PM
MR. PROGRAMMER
MR. PROGRAMMER - avatar
+ 1
It would easier to help with that.
17th Apr 2020, 4:04 PM
MR. PROGRAMMER
MR. PROGRAMMER - avatar
+ 1
For example the call can looks as follows: let aValue = 0; while(true) {aValue = anyValueFunction(); yourFunction(aValue);}
17th Apr 2020, 4:33 PM
JaScript
JaScript - avatar