The difference between import; export and export from

my colleagues claim that the three pieces of code are different, and my perception is the same (packaging). But neither of us found the relevant documents.
what are the similarities and differences of the following three codes

  • 1
export { default as AAA } from "./aaa"
export { default as BBB } from "./bbb"
Nov.27,2021

1 and 2 make no difference, they are all named exports, and 3 is the default export class.
from the obligation of argument, if someone thinks that something is different, he must give proof, because there is no way to directly prove without , and any proof can be regarded as but not found . This is called evidence without proof, so your colleagues think that there are differences in these three ways, first of all, you have to point out where the differences are.


from" rel= "nofollow noreferrer" > https://github.com/tc39/propo. I don't see any mention in the official document of


thinking, except for the third variable that doesn't get AAA and BBB. I can't think of any difference. Ask your colleague if you want to give it to me. < span class= "emoji emoji-grimacing" >

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-1b32e3f-2be68.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-1b32e3f-2be68.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?