JSFiddle - React, Tailwind, and code Playground by karthick Chandran January 17, 2019 JavaScript var ss = null; console.log(ss.split(',')[0]);