13 lines
464 B
Plaintext
13 lines
464 B
Plaintext
This test checks behavior with expressions that create deep parse trees.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS eval(repeatedExpression("letterA", "+", 100)) is repeatedString("a", 100)
|
|
PASS eval(repeatedExpression("letterA", "+", 1000)) is repeatedString("a", 1000)
|
|
PASS eval(repeatedExpression("letterA", "+", 100000)) threw exception RangeError: Out of memory.
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|