Utils.import

Evaluates the specified JavaScript file in the arguments context.

Utils.import(fileName);

Arguments

filename. (string) The absolute path to the JavaScript file.

Return value

A promise that is fulfilled with undefined upon success.

Example

Copy code
(async ()=>{
    await Utils.import("js_file_path");
})();