aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/Test.tsx')
-rw-r--r--src/debug/Test.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/debug/Test.tsx b/src/debug/Test.tsx
index 033615be6..6a677f80f 100644
--- a/src/debug/Test.tsx
+++ b/src/debug/Test.tsx
@@ -66,6 +66,14 @@ class Test extends React.Component {
assert(test2.testDoc === undefined);
test2.url = 35;
assert(test2.url === 35);
+ const l = new List<number>();
+ //TODO push, and other array functions don't go through the proxy
+ l.push(1);
+ //TODO currently length, and any other string fields will get serialized
+ l.length = 3;
+ l[2] = 5;
+ console.log(l.slice());
+ console.log(SerializationHelper.Serialize(l));
}
render() {