Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 159 - AS (Alias)  (Read 3402 times)
Reuben B.
Four Js
Posts: 1049


« 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/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines