Cpp Array Of Functions In Javascript Interview