fix(curriculum): var keyword to global-scope-and-functions (#46553)

fix(curriculum): var to global-scope-and-functions

Added the `var` keyword in global-scope-and-functions challenge instructions to avoid confusion
pull/46548/head
Ivan Pavičić 2022-06-19 01:34:51 +02:00 committed by GitHub
parent 1dc10c7cbe
commit 258e9d0130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Variables which are declared without the `let` or `const` keywords are automatic
Using `let` or `const`, declare a global variable named `myGlobal` outside of any function. Initialize it with a value of `10`.
Inside function `fun1`, assign `5` to `oopsGlobal` ***without*** using the `let` or `const` keywords.
Inside function `fun1`, assign `5` to `oopsGlobal` ***without*** using the `var`, `let` or `const` keywords.
# --hints--