JSFiddle - React, Tailwind, and code Playground

by sandfresh

JavaScript

let arrt = [];
console.log(arrt.slice(length-3 ,3));