Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create a variable in javascript

// you an pass in strings or a number 

var exampleVariable = 'Example string' // this is a normal string 
var anotherExample = 839; 
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #create #variable #javascript
ADD COMMENT
Topic
Name
9+6 =