Link Search Menu Expand Document

Use * to Import Everything from a File

Summary

  • * can be used to import all contents from a .js file.

Final Code

import * as stringFunctions from "./string_functions.js";

// Only change code above this line

stringFunctions.uppercaseString("hello");
stringFunctions.lowercaseString("WORLD!");