js.compile.ignore=true ===== >>> main.whiley import string from js::core public export method test(): // generate normal string int[] ascii = "hello" // coerce to js string string js = (string) ascii // js[0] = 'H' // assert ascii == "hello" assert js == "Hello" >>> js/core.whiley package js public type string is int[] where true ---