Problem 2695 · Easy

Array Wrapper

A wrapper class holds an array and tells JavaScript how to convert it to a number when added and to a string when printed.

Open the interactive visualisation