• + 1 comment

    In node.js they are not passing the width array, make sure to add variable width where the function is called, it is already accessed from stdin and stored in a variable.