Type Of Functions In Javascript