We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 484f07a commit 3ef717fCopy full SHA for 3ef717f
topics/about_assignment.js
@@ -2,11 +2,11 @@
2
module("About Assignment (topics/about_assignment.js)");
3
4
test("local variables", function() {
5
- var temp = __;
+ var temp = 1;
6
equal(temp, 1, "Assign a value to the variable temp");
7
});
8
9
test("global variables", function() {
10
temp = 1; // Not using var is an example. Always use var in practise.
11
- equal(window.__, temp, 'global variables are assigned to the window object');
+ equal(window.temp, temp, 'global variables are assigned to the window object');
12
0 commit comments