/* Repeat a string, in Neko */ var srep = function(s, n) { var str = "" while n > 0 { str += s n -= 1 } return str } $print(srep("ha", 5), "\n")