Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs global

//Two ways to access global
> console.log(global)
//or
> global
 
//Adding new property to global
> global.car = 'delorean'
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #nodejs #global
ADD COMMENT
Topic
Name
5+1 =