Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 529 Bytes

ES Modules.md

File metadata and controls

31 lines (23 loc) · 529 Bytes
title tags public date
ES Modules
javascript
typescript
ecmascript
true
2021-05-16

ES Modules

Module system in ECMAScript standard JavaScript.

An example:

import { foo } from 'first-module';
import * as all from 'second-module';

export const SPECIAL_CHAR = "*";

export function anotherFoo() {
	// ...
}

Links