Top Rounds
| We are Hiring! |

_getGlobal ·

_getGlobal gets a previously stored variable whose scope will span a session.
Globals are used for persisting variables across multiple web pages.

See also: _setGlobal, Globals

Syntax:

_getGlobal ( name )
Returns the value of the global variable identified by name.
The parameters are:

  • name: String identifying a global variable

Example:

_setGlobal(“name”, “Narayan”);
_getGlobal(“name”); // will return “Narayan”




---


Top Rounds