replace 'new Array()' with '[]'