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>
4 lines
89 B
JavaScript
4 lines
89 B
JavaScript
console.log([...[3, 2, 1]].join("-"));
|
|
var a = [3, 2, 1];
|
|
console.log([...a].join("-"));
|