Balance value of three input fields to always sum up to 100
I would like to balance a user input of three input fields so that they will always sum up 100.
How to decide Function chaining priority
I have a problem link
How to decide Function chaining priority
I have a problem link
How to decide Function chaining priority
I have a problem link
when the input is same , then why is the output different?
let number2=prompt(" specify enter").trim(); // input= "25" let number1="25"; console.log(Number(number2)) // output= NAN [NOT A NUMBER] console.log(Number(number1)) // output= 25