mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Aesthetics
This commit is contained in:
@@ -71,6 +71,7 @@
|
|||||||
assert a[0][0] == [42], "nested indexing failed";
|
assert a[0][0] == [42], "nested indexing failed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//test nested indexing multipliciation assignment
|
//test nested indexing multipliciation assignment
|
||||||
{
|
{
|
||||||
var a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
|
var a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
|
||||||
@@ -80,6 +81,7 @@
|
|||||||
assert a == [[1, 2, 3], [4, 50, 6], [7, 8, 9]], "nested indexing multipliciation assignment failed";
|
assert a == [[1, 2, 3], [4, 50, 6], [7, 8, 9]], "nested indexing multipliciation assignment failed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//test combine example
|
//test combine example
|
||||||
{
|
{
|
||||||
fn combine(a, b, c) {
|
fn combine(a, b, c) {
|
||||||
|
|||||||
Reference in New Issue
Block a user