Subarray Program In Python Examples Using Functions In Javascript