17 lines
438 B
Plaintext
17 lines
438 B
Plaintext
Test to ensure correct behaviour of prototype caching with dictionary prototypes
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS protoTest(o) is 'PASS'
|
|
PASS protoTest(o) is undefined.
|
|
PASS protoKeys is [1,2,3]
|
|
PASS protoKeys is [1,2,3]
|
|
PASS testFunction(subclass1) is true
|
|
PASS testFunction(subclass2) is true
|
|
PASS testFunction(subclass2) is true
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|