mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-17 15:54:07 +10:00
Patched some very obscure bugs
This commit is contained in:
@@ -160,7 +160,8 @@ import compound;
|
||||
var a = [1, 2, 42, 3];
|
||||
|
||||
//results are zero-indexed
|
||||
assert a.indexOf(42) == 2, "_indexOf failed";
|
||||
assert a.indexOf(42) == 2, "_indexOf() failed";
|
||||
assert a.indexOf(4) == null, "_indexOf() == null failed";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user