please use `for (var i =0; i < suffix.length; i++)`, it won't enumerate through enumerable Array.prototype properties.