JSFiddle - React, Tailwind, and code Playground
by rpflorence
HTML
<h1 id="log"></h1>
CSS
body {
font-family: helvetica, arial;
}
JavaScript
var multiplier = 2; // going to bind this
var numbers = [1,5,12,76];
var newNumbers = [];
numbers.each(function(number,index){
newNumbers[index] = number * this;
}, multiplier);
$('log').set('text', newNumbers.join(', '));