Files
Nim/tests/js/tstrconcat.nim

6 lines
84 B
Nim

var x: string
var y = "foo"
add(x, y)
y[0] = 'm'
doAssert y == "moo" and x == "foo"