#7 Use Modules to Organize your Code in Modern #JavaScript | Lightning Web Components #Salesforce

preview_player
Показать описание
Modules are pretty simple to create and use. An ES6 module is essentially just a file containing some JavaScript. Everything inside the module is scoped to that module only. If you want to make something—like a function, a variable, or a class—available somewhere else, you need to use an export statement. You then use an import statement to specify what you want to use from the exported module.

#JavaScript #LWC #salesforce

Рекомендации по теме
Комментарии
Автор

Nice topic, but I’m at maximum volume and it’s still not easy to hear you. Please normalize your audio before upload. 🙏🏽

tonyr.