[jslint] Re: new Array(3)
- --- In firstname.lastname@example.org, Morgaut Alexandre Louis Marc <morgaut@...> wrote:
> Please note also that priority must not be always focused on perfReadability is paramount. So the inherent off-by-one problem in the trick makes it hazardous. Certainly it does not justify keeping new Array in the safe subset. The fact that new Array(3) is not the same as  is a more serious problem than the need to make a string with the wrong number of stars in it.
> These must also be considered:
> - Readability of the code
> - Less code === Less potential error hidden in the pattern (wrong copy/paste or error while typing)
Is there another essential use for new Array?