similarly, calling the toString method on array directly.