All Tracks/lab slice and splice/
Đang tải...
Hướng dẫn thử thách
1 / 1

Implement the Slice and Splice Algorithm

In this lab, you will need to create an algorithm to merge two arrays. **Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab. **User Stories:** 1. Create a `frankenSplice` function that accepts two arrays and an index. 1. Copy each element of the first array into the second array, in order, beginning at the given index, and return the resulting array. 1. The input arrays should remain the same after the function runs.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.