Reword sentence on line 268

This commit is contained in:
Jared 2022-08-18 17:02:36 +01:00 committed by GitHub
parent 1edb0a3833
commit ae6f9d3cc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ function showMessage(from, text) {
### Alternative default parameters ### Alternative default parameters
Sometimes it makes sense to assign default values for parameters not in the function declaration, but at a later stage. Sometimes it makes sense to assign default values for parameters at a later stage after the function declaration.
We can check if the parameter is passed during the function execution, by comparing it with `undefined`: We can check if the parameter is passed during the function execution, by comparing it with `undefined`: