JSFiddle - React, Tailwind, and code Playground
by alexdickson
JavaScript
var somestring = "data1|data2|data3",
separated = somestring.split("|");
Array.prototype.hello = function() {};
separated.forEach(function(chunk, index) {
console.log(chunk);
});