07-21-2023, 05:46 AM
I prefer using the `import x from 'y'` syntax, but all I've seen online is `const path = require('path')`.
Is there a way to import the path module using this syntax?
Is there a way to import the path module using this syntax?