mirror of
https://github.com/tc39/test262.git
synced 2025-07-29 08:54:35 +02:00
Merge pull request #152 from smikes/undefined-var-truthy-4
fix undefined var
This commit is contained in:
commit
51f0c1daad
@ -4,7 +4,7 @@ function assert(mustBeTrue, message) {
|
||||
}
|
||||
|
||||
if (message === undefined) {
|
||||
message = 'Expected true but got ' + String(truthy);
|
||||
message = 'Expected true but got ' + String(mustBeTrue);
|
||||
}
|
||||
$ERROR(message);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user