JSFiddle - React, Tailwind, and code Playground by sandfresh July 18, 2018 JavaScript let arrt = []; console.log(arrt.slice(length-3 ,3));