Answers for "varianle in javascript"

6

js variable

var Number = 5;
var String = "Hi!";
var boolen1 = true;
var boolen2 = false;
var array = [11, "Hi!", true];
var object = {age:11, speach:"Hi!", likes_Bananas:true};
Posted by: Guest on June-21-2020
1

varianle in javascript

var one = 1; // variable stores numeric value

var two = 'two';  // variable stores string value

var three;  // declared a variable without assigning a value
Posted by: Guest on August-02-2020
1

js variables

// let & var are both editable variables:
var cow = 'moo';
let pig = 'oink';
cow = 10;
pig = 10;
// const is a permanent variable; you cannot change it.
const uncuttableGrass = '\/\/';
uncuttableGrass = '___';
// above throws an error
Posted by: Guest on June-09-2020
1

javascript define variable

var variable1 = "some variable content";
Posted by: Guest on June-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language