There seems to be some confusion when it comes to JavaScript modules. Some developers are unsure of how they work and why are various ways that they can be used. To clear up some of these ...
Originally, I created this solution for personal use due to my preference of not including the .js extension in TypeScript import/export statements when compiling my TypeScript project to ES Module.
After php 7.4 release, I am interested in the new feature, the arrow function. This reminds me when using javascript, I use a lot of arrow functions. Also in javascript can export and import from ...