Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 18th, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
/*
argumentsを本物の配列にする
slice 配列を取り出す。引数が一個だとすべてを取り出す。
*/
function func(arg1, arg2) {
return Array.prototype.slice.apply(arguments);
}
console.log(
func(1,2,3,4)
);
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 33 min ago | 0.39 KB
nytimes soduko auto solver
JavaScript | 40 min ago | 3.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 1 hour ago | 0.38 KB
2024-05-05_stats.json
JSON | 1 hour ago | 5.73 KB
2024-05-05_stats.json
JSON | 1 hour ago | 5.72 KB
2024-05-05_stats.json
JSON | 1 hour ago | 5.67 KB
Untitled
Lua | 2 hours ago | 0.62 KB
Untitled
PHP | 2 hours ago | 15.24 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!