Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 361 Bytes

class-07.md

File metadata and controls

15 lines (9 loc) · 361 Bytes

Class 07

JavaScript Functions

Syntax

  1. A JavaScript function is defined with the function keyword, followed by a name, followed by parentheses ().

function name(parameter1, parameter2, parameter3) { // code to be executed }

  1. Operator Functions

Accessing a function without () will return the function object instead of the function result.