Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js variables

// JS Variables
var varExample = "var"; // var is use for variable in js the problem with it that it has complicated scope 
let letExample = "let"; // let is pretty much same as var the only thing which make its more varriable is its variable scope.
const constExample = "const"; // const is use for constant values and this variable scope is sane as let
 
PREVIOUS NEXT
Tagged: #js #variables
ADD COMMENT
Topic
Name
9+8 =