There is no need to use new String(), new Number(), new Boolean(), new Array(), and new RegExp()
Use literals instead like: myArray = []