Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if statements javascripts

if (person.age >= 16) {  person.driver = 'Yes';} else {  person.driver = 'No';}
Source by codeburst.io #
 
PREVIOUS NEXT
Tagged: #statements #javascripts
ADD COMMENT
Topic
Name
2+2 =