Advantage Of Using Functions In Javascript