Es6's unfold operator code does not run

let first = { a: "1", b: "2" }, second = { b: "3", c: "4" };
let third = { ...first, ...second };
console.log(third);

Code as above, run the instruction: babel-node js.js, and the error message is as follows:

clipboard.png

what went wrong?

Es6
Mar.17,2021

babelrc is not configured
https://babeljs.io/docs/plugi.


babel-node --presets env js.js
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-1b3b434-2b9f9.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-1b3b434-2b9f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?