Importing ES Modules: Namespaces

This page uses the following Javascript import syntax:

<script type="module">
import * as EnglishGreetings from './greetings-en.js';
import * as FrenchGreetings from './greetings-fr.js';
EnglishGreetings.SayHello('Alice');
EnglishGreetings.SayGoodbye('Bob');
FrenchGreetings.SayHello('Charlotte');
FrenchGreetings.SayGoodbye('Davide');
</script>