JSFiddle - React, Tailwind, and code Playground

by Marcus Baptiste

JavaScript

var num = 1234;

alert(String(num).slice(2,4));