JSFiddle - React, Tailwind, and code Playground

by someprimetime

HTML

<div id="blah">asdf</div>

CSS

.one {
    background: red;
}

JavaScript

var a = [[1, 2], [3, 4], 5];

Array.prototype.mergeArray = function() {
    var duplicate = this.concat(this);
    return this.concat.apply([], duplicate);
    return this.concat(this);
 //return this.concat.apply([], this);   
}
                          
console.log(a.mergeArray());