Hi guys I was curious to know
In Ruby for declare a global variable you do this
$global_variable = somethingbut in Javascript I was curious...How do you declare a global variable?
you have to use something likes the sames syntax?
var $global_variable = something;or this totally different...? I was curious to know about this for be honest !
thanks for any further answer!
In Ruby for declare a global variable you do this
$global_variable = somethingbut in Javascript I was curious...How do you declare a global variable?
you have to use something likes the sames syntax?
var $global_variable = something;or this totally different...? I was curious to know about this for be honest !
thanks for any further answer!