JavaScript import syntax error

the code is as follows

import * from xxxx

Why is this syntax not supported?

  1. Node.js does not support import, and Safari does not support import. Is this ES6 syntax not intended to be supported at all.
Jun.29,2022

  1. import * as utils from'. / Utils'
  2. nodejs supports import , but only supports .mjs suffix, and Safari also supports it, but it all depends on the version.

    import-sharp browser is compatible

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf368e-316c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf368e-316c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?