JSFiddle - React, Tailwind, and code Playground by Erica Mitchell January 15, 2016 JavaScript var x = [14, 3, 77] var y = x.splice(1, 2) console.log(x) // [14] console.log(y) // [3, 77]