home scroll javascript

Javascript

Javascript FAQ

What does the syntax => mean?
It is called an arrow function and provides a shorter way to define a function.
https://www.javascripttutorial.net/es6/javascript-arrow-function/
What does the syntax <name> mean?
The name between the lesser than and the greater than sign is a type parameter in a generic function
https://www.typescriptlang.org/docs/handbook/2/functions.html
or a type variable.
https://www.typescriptlang.org/docs/handbook/2/generics.html
What does the syntax ...params mean?

Category

git Usage

Single Board Computers

Follow Me

discord