Conditional operator.

This commit is contained in:
Bob Nystrom
2014-02-15 11:36:01 -08:00
parent 4728687ca5
commit e535d7a9e7
12 changed files with 106 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
true ? IO.print("ok") : IO.print("no") // expect: ok
false ? IO.print("no") : IO.print("ok") // expect: ok