JSFiddle - React, Tailwind, and code Playground

by Ron Eaglin

HTML

<input type='button' value='Go' onclick = 'pushWords()' />
<div id='output'>

</div>

JavaScript

var words = [];
function pushWords(){
  words.push(['the' ,1, 5, 9]);
  words[0].push(11);
  document.getElementById('output').innerHTML = words[0];
}