mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fixing a test from internal test suite.
This commit is contained in:
parent
8088163d04
commit
b7ad84c76a
@ -24,4 +24,9 @@ function Animal(name)
|
||||
|
||||
var animal = new Animal("animal");
|
||||
var bird = new Animal("bird");
|
||||
assert(animal.canFly == animal.name);
|
||||
|
||||
assert(animal.canWalk === true);
|
||||
assert(bird.canWalk === true);
|
||||
assert(animal.canFly === undefined);
|
||||
assert(bird.canFly === true);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user