You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently rockstar-js treats all varables as global. Per spec:
If a variable is defined outside of a function, it is in global scope. Global scope variables are available everywhere below its first initialization. If a variable is defined inside of a function, it is in local scope. Local scope variables are available from their initialization until the end of the function they are defined in.
While within a function, if you write to a variable that has been defined in global scope, you write to that variable, you do not define a new local variable.
The text was updated successfully, but these errors were encountered:
Currently rockstar-js treats all varables as global. Per spec:
If a variable is defined outside of a function, it is in global scope. Global scope variables are available everywhere below its first initialization. If a variable is defined inside of a function, it is in local scope. Local scope variables are available from their initialization until the end of the function they are defined in.
While within a function, if you write to a variable that has been defined in global scope, you write to that variable, you do not define a new local variable.
The text was updated successfully, but these errors were encountered: