Howto: dynamically importing moment.js in helper

I got the syntax from Ben Newman’s video specifically (about 13:30 min in) and other related stuff I had to scour for in general.

  1. I thought we (can) use the import syntax assigned to a variable

  2. I thought we use (only) await inside async functions

Your syntax looks like something I would place at the top of a module (file)

From the video: