Java String And Array Functions In Javascript Interview