I'm trying to iterate through an array of textareas on my page with ClassName TextInput and change their values (innerHTML). 
The function I wrote is as follows-
    function init() {
        var TextInput[] = document.getElementByClassName("TextInput"); //line 12
        for(var i = 0; i < TextInput.length; i++) {
            TextInput[i].innerHTML = "N/A";
        }
    }
Firefox 18.0.2's debug console says SyntaxError: missing ; before statement on line 12.
What is wrong with my code and how can I achieve what I'm trying to do?