#04 - Import & Export Modules - Modern Javascript (ES6+) Tutorial

preview_player
Показать описание
In this ES6+ tutorial, we teach you the increased flexibility you get by importing and exporting your modules with the new syntax.

We cover the following topics:
0:00 - Enable Modules
0:38 - Modules
1:06 - Named Export
1:28 - Named Import
2:07 - Default Export
2:30 - Default Import
2:50 - Next up

Check out the Modern Javascript playlist for more ES6+ tutorial videos

Subscribe to the channel and never miss a lesson

Visit the website for a wide range of programming tutorials
Рекомендации по теме
Комментарии
Автор

greeting:
export const greet = (): void => console.log("Hello, World!");

index:
import { greet } from "./greeting";

greet();

kvelez