spreed operator

Run Settings
LanguageJavaScript
Language Version
Run Command
const originalArray = [1, 2, 3]; const copiedArray = [...originalArray]; // Membuat salinan console.log(copiedArray);
Editor Settings
Theme
Key bindings
Full width
Lines