Added _getKeys() and _getValues()

This commit is contained in:
2023-02-05 12:49:12 +00:00
parent 15f99495a1
commit 60225b733b
3 changed files with 148 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import compound;
var a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
a[1][1] *= 10;
print a;
//test getKeys
var d = ["foo": 1, "bar": 2];
var a = d.getValues();
print a;