===== >>> main.whiley import string from js::core type Ref is &{T val} public export method test(): Ref p = new {val: "Hello"} assert p->val == (string) "Hello" p->val = "World" assert p->val == (string) "World" >>> js/core.whiley package js public type string is int[] where true ---