How can a JavaScript developer modify a scalar global variable from within a function?

1) Refer to the global variable by its name

Refer to the global variable by its name to modify a scalar global variable from within a function.