How can a JavaScript developer modify a scalar global variable from within a function?August 26, 2022+1) Refer to the global variable by its nameRefer to the global variable by its name to modify a scalar global variable from within a function.