ES Module
A JavaScript file using import and export to declare dependencies and public values.
What is ES Module in JavaScript?
ES Module — A JavaScript file using import and export to declare dependencies and public values.
export function total(price, quantity) {
return price * quantity;
}
Level: Journeyman · More JavaScript terms at this level
Updated