Bootstrap Tests
A Countdown Test
Hello World Test
Hello World!
A Function Invocation Test
Functions Rock
invoking method and getting props on objects
document
div1
Some Content
functions can return values
document
div1
Some Content
Setting a property works
document
div2
Hello Props
innerHTML
Some Content
Variables & Return & Recursive Function Calls work
num
num
num
num
num
Literal Tests
True Literal
true
False Literal
false
Null Literal
null
String Literal
foo
Number Literal
List Literal
-
Foo
-
Bar
Object Literal
Math Tests
Add Test
Subtract Test
Multiply Test
Divide Test
Stack Manipulation Tests
Duplicate Top
Delete Top
Comparison Tests
Smaller
Bigger
Equal
Logical Tests
Logical And
true
true
false
true
Logical Not
true
false
Logical Or
true
true
false
true
false
false
Array Tests
Indexing An Array
-
String 1
-
String 2
-
String 3
Indexing A Prop
Bar
Setting A Value In An Array
-
String 1
-
String 2
-
String 3
String 4
Props Tests
Indexing A Prop
Setting A Prop
String 3
Bar
Control Flow Tests
Positive If
Foo
true
Bar
Negative If
Foo
false
Bar
Anchor Jump
Foo
Bar
Return Stops Execution
Foo
Bar
Functions
Basic Arguments Work
Foo
Bar
Return Values Work
Bar
Recursion Works
Variables
Basic Variable Works
Foo
foo
Variables Can Be Set Twice
Foo
foo
Bar
foo
Function Variables Are Scoped Properly
Foo
foo
foo
Bar
foo