Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 19th, 2018
96
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
function frankenSplice(arr1, arr2, n) {
let arr3 = [];
arr2.splice(n, 0, arr1)
arr2
arr3 = arr2.join(",");
console.log(arr3.length);
}
frankenSplice([1, 2, 3], [4, 5, 6], 1);
Add Comment
Please,
Sign In
to add comment
Public Pastes
Practicality of life
R | 9 min ago | 9.94 KB
advanced_mega_registry_toggle
Python | 13 min ago | 8.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 16 min ago | 0.39 KB
Untitled
C++ | 60 min ago | 0.40 KB
Elite:Dangerous: Titan-Bomber Script
Python | 1 hour ago | 6.10 KB
Kick Up Simulator Codes
JSON | 2 hours ago | 0.11 KB
Untitled
FreeBasic | 3 hours ago | 2.56 KB
idk
Lua | 5 hours ago | 130.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!