variables in js
var Hello = "World";
let bool = false;
const int = 8788;
variables in js
var Hello = "World";
let bool = false;
const int = 8788;
js var
var a = 0, b = 0;
js var
var nomevariabile1 [= valore1] [, nomevariabile2 [= valore2] ... [, nomevariabileN [= valoreN]]];
how to create variables using javascript
var myVar; //unitialized variable( can be intiallized later )
var number = 1; //number
var string = " hello world " ; //string
var boolean = true ; //boolean
myVar = function(){ //variable can hold function
};
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us