Does this code
if (typeof importScripts === 'function') { importScripts('somelib.js'); } //some code between if (typeof importScripts === 'function') { var i = some_function_from_imported_lib(params); //CODE CODE CODE } is the same as
if (typeof importScripts === 'function') { importScripts('somelib.js'); var i = some_function_from_imported_lib(params); //CODE CODE CODE } ?
In other words, does it matter importScripts() is wrapped by some parenthesises or not? Does it matter for scope of functions and variables inside somelib.js?