functions of function js code example Example: functions in javascript function name( parameter1 ,parameter 2,..) //name signifies funcname { }