var nodeWordsString = document.getElementById(\"nodeWordsTextArea\").value.trim(); var nodeWordsStringArray=nodeWordsString.split(\" \"); var strLength = nodeWor
Change int i and int j to var i and var j.
int i
int j
var i
var j