javascripting
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "javascripting", | ||
"description": "Learn JavaScript by adventuring around in the terminal.", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "url": "git://github.com/sethvincent/javascripting.git" |
@@ -27,3 +27,3 @@ --- | ||
`function.js` ファイルを作りましょう。 | ||
`functions.js` ファイルを作りましょう。 | ||
@@ -30,0 +30,0 @@ |
@@ -14,6 +14,6 @@ --- | ||
```js | ||
var a = 4; // a is a global variable, it can be accesed by the functions below | ||
var a = 4; // a is a global variable, it can be accessed by the functions below | ||
function foo() { | ||
var b = a * 3; // b cannot be accesed outside foo function, but can be accesed by functions | ||
var b = a * 3; // b cannot be accessed outside foo function, but can be accessed by functions | ||
// defined inside foo | ||
@@ -36,3 +36,3 @@ function bar(c) { | ||
// variables defined here | ||
// can't be accesed outside | ||
// can't be accessed outside | ||
})(); // the function is immediately invoked | ||
@@ -66,3 +66,3 @@ ``` | ||
Use your knowledge of the variables' `scope` and place the following code inside on of the functions in 'scope.js' | ||
Use your knowledge of the variables' `scope` and place the following code inside one of the functions in 'scope.js' | ||
so the output is `a: 1, b: 8,c: 6` | ||
@@ -72,2 +72,2 @@ ```js | ||
``` | ||
--- | ||
--- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
982692