Message from JavaScript discussions

July 2018

— Assign


You mean like the value from the html input? If I remember correctly it’s like that:
let input = document.getElementById("username").value

— Like in java we write:

— Int n=s.nextInt();

— How do we write in js

— You mean count one up?
var i = 0;

— What is s?

— Int startingIntegerValueProbably=1;🤤

— Int n=s.dearJavaPleaseIncreaseThisByOneForNextInteger();

— A is taken for object variable

— No

— To input a value by user