+ 2
How can one difine variable
am trying to write one but am not able to define it please cone some one help me am new in this am just starting to learn
4 Respostas
+ 7
Defining variables in javascript is simple.
You could use:- var, let or const
eg. to define your age:
var age=18;
let age=18;
const age=18;
+ 2
Just go to the specific language from the very beginning and there are explained with intro and then variables and many more.
+ 1
let x=5;
+ 1
This should suffice
https://www.sololearn.com/learn/JavaScript/1128/