We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37ac69c + 197ef3d commit d331e76Copy full SHA for d331e76
1 file changed
js/lesson1/tutorial.md
@@ -301,7 +301,7 @@ Now let's extend out function to take in **arguments**. We want it to say hello
301
```js
302
function hello(name) {
303
console.log("Hello " + name + "!");
304
-};
+}
305
```
306
307
Arguments are a list of variables that will be given when the function is called. Think of them as placeholders.
@@ -323,7 +323,7 @@ Let's write an improved version of this that shows a small dialog with the messa
323
> We'll only give you a part of the function, try to make this work.
324
325
326
-function popupHello() {
+function popupHello(name) {
327
alert("Hello " + name);
328
}
329
0 commit comments