🏠 New in High Baseline Support: Functions

January 29, 2018

caniuse · mdn · [spec]([‘https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#sec-ecmascript-language-functions-and-classes’, ‘https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-function-objects’])

Functions are series of statements that can be called and return a value. The function keyword (as in function () { }) and arrow (=>) expression create functions. The JavaScript functions protocol includes default and rest parameters and binding to this.

Source features