JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.1/prototype.js"></script>
<script>
console.log("Using v" + Prototype.Version);
</script>
JavaScript
/*var a = [[2,5], [3,3], [4,2], [5,1], [1,4]].sortBy(function(s,i) {
return s;
});
alert(a);*/
alert([1,2].join([3,4]));
/*var a = [3].inject(
[1,2,5], function(arr, e, index) {
alert(arr[index] + ':' + index + ':' + e);
//arr.push('Done ' + e);
return arr;
});
alert('Final Array : ' + a)*/