Java Array Sum Program In Javascript The Statement