mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Refactored parseIdentiferToValue(), removed unneeded safties
This commit is contained in:
@@ -92,4 +92,14 @@
|
||||
}
|
||||
|
||||
|
||||
//test deep-combine example
|
||||
{
|
||||
fn combine(a, b, c, d) {
|
||||
return [[a, b], [c, d]];
|
||||
}
|
||||
|
||||
assert combine(1, 2, 3, 4) == [[1, 2], [3, 4]], "deep-combine example failed";
|
||||
}
|
||||
|
||||
|
||||
print "All good";
|
||||
|
||||
Reference in New Issue
Block a user