JSFiddle - React, Tailwind, and code Playground by Marcus Baptiste December 01, 2017 JavaScript var num = 1234; alert(String(num).slice(2,4));