js default values code example
Example: default in javascript
const greet = (message = 'Hello World!') => console.log(message);
greet(); // prints 'Hello World!'
greet('Hello! Does this answer your question?') // prints 'Hello! Does this answer your question?'