Created
March 24, 2012 16:45
-
-
Save rosylilly/2184995 to your computer and use it in GitHub Desktop.
phantomjsでハローワールド
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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