Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on January 20, 2023, 05:03:02 am



Title: Ask Reuben 159 - AS (Alias)
Post by: Reuben B. on January 20, 2023, 05:03:02 am
Occasionally in maintenance releases we will add some new syntax rather than waiting for a major release.  If you look in the "What is New in 4.01" documentation there is an entry for 4.01.02  "Module aliases with IMPORT FGL path AS alias-name"
 
The IMPORT FGL syntax has been enhanced  so that you can define an alias for module and package names.  This can make your code shorter and less ambiguous, thus improving developer effectiveness.
 
Read more at https://4js.com/ask-reuben/ig-159/