mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
c6b22c57f8
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
5 lines
142 B
JavaScript
5 lines
142 B
JavaScript
let obj = { ...{} };
|
|
console.log(Object.keys(obj));
|
|
let objWithKeys = { a: 1, ...{ b: 2 } };
|
|
console.log(Object.keys(objWithKeys).join(","));
|