Now with prototyped array method in JS