Skip to content

Commit be8ff71

Browse files
committed
Missed a few things
1 parent 010ba4e commit be8ff71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

topics/about_control_structures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $(document).ready(function(){
3535

3636
test("ternary operator", function() {
3737
var fruit = true ? "apple" : "orange";
38-
equals(fruit, "apple", 'what is the value of fruit?');
38+
equals(fruit, __, 'what is the value of fruit?');
3939

4040
fruit = false ? "apple" : "orange";
4141
equals(fruit, __, 'now what is the value of fruit?');

topics/about_equality.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ $(document).ready(function(){
1616
});
1717

1818
test("equality with type coercion", function() {
19-
ok(3 == __, 'what string is equal to 3, with type coercion?');
19+
ok(3 == "__", 'what string is equal to 3, with type coercion?');
2020
});
2121

2222
test("string literals", function() {
23-
equals("frankenstein", __, "quote types are interchangable, but must match.");
23+
equals("frankenstein", '__', "quote types are interchangable, but must match.");
2424
});
2525

2626
});

0 commit comments

Comments
 (0)