Edit in JSFiddle
JavaScript
HTML
CSS
Result
console.log([1, 2, 3].splice(1))