const to toArray()