Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // util.js
- export function sayHi(name) {
- console.log("Hi "+name);
- }
- // somewhereelse.js
- import * as Util from "util.js";
- Util.sayHi("Maxim");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement