JSFiddle - React, Tailwind, and code Playground

by Joe Saad

JavaScript

const p =  "2.1.3"
alert(p.split('.')[0]+'.'+p.split('.')[1])