Skip to content

Instantly share code, notes, and snippets.

@rosylilly
Created March 24, 2012 16:45
Show Gist options
  • Save rosylilly/2184995 to your computer and use it in GitHub Desktop.
Save rosylilly/2184995 to your computer and use it in GitHub Desktop.
phantomjsでハローワールド
fs = require('fs')
printfln = (text) =>
text += "\n"
fs.write('/dev/stdout', text, 'w')
printfln "Hello, World!"
phantom.exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment