How can one difine variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

23rd Nov 2018, 11:27 AM
David Mugendi
David Mugendi - avatar
4 Answers
+ 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;
24th Nov 2018, 10:46 PM
Pato K
Pato K - avatar
+ 2
Just go to the specific language from the very beginning and there are explained with intro and then variables and many more.
23rd Nov 2018, 12:57 PM
UwU Discover Me
+ 1
let x=5;
23rd Nov 2018, 11:33 AM
HonFu
HonFu - avatar
23rd Nov 2018, 11:39 AM
Dlite
Dlite - avatar