siblingpastry,
@siblingpastry@mastodon.world avatar

@joelanman Both require and import can be used as statements or dynamic functions. The statement syntax requires module import, but the function supports anything.

(Still talking ES6, don't know about Node specifically)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming
  • ethstaker
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • osvaldo12
  • modclub
  • megavids
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • JUstTest
  • lostlight
  • All magazines