ShareCopy to ClipboardRawPreview// const numbers = [1, 2, 3, 4, 5]; const newArray = originalArray.map((element) => element); Map array043juli1My JavaScript recipesShortcut: array.map0 CommentsAdd CommentLog in to add a comment