Created
March 30, 2015 09:23
-
-
Save asbestos/02d664d5b6c5b015d2c5 to your computer and use it in GitHub Desktop.
JScript print to console
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
var print = (function(){ | |
var out = WScript.StdOut; | |
var print = function print(message){ | |
out.WriteLine(message); | |
}; | |
return print; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment