JavaScript lastIndex constructor Property