JSFiddle - React, Tailwind, and code Playground

by gorelov

JavaScript

var obj = "John,age,New York";
var arr = obj.split(',');
alert( 'Ваши ошибки ' + obj);