Home
Javascript Basics
Javascript DOM
Javascript Practice
# Javascript fundamentals
# Javascript arrays
# Javascript objects
# Javascript dates
# Javascript Sets
Challenge Rush
0
function myFunction ( a, n ) { return }
return
myFunction([1, 2, 3, 4, 5], 2)
[ 4, 5 ]
myFunction([1, 2, 3], 6)
[ 1, 2, 3 ]
myFunction([1, 2, 3, 4, 5, 6, 7, 8], 3)
[ 6, 7, 8 ]