Newer
Older
2021-KKazuho / rhino.js
#!/usr/bin/env js
s = "Hello, world!";
for (var i=0; i<s.length; i++) {
  print(s.substr(0, i+1));
}