Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create a variable with a operator in javascript

var example = 2 + 1;
var exampleTwo = 2 - 4;
//this is how to end a variable with plus and minus signs
 
PREVIOUS NEXT
Tagged: #create #variable #operator #javascript
ADD COMMENT
Topic
Name
3+5 =