--- In email@example.com
, Morgaut Alexandre Louis Marc <morgaut@...> wrote:
> Please note also that priority must not be always focused on perf
> 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)
Readability 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.
Is there another essential use for new Array?