20,741
edits
(add old stub ...) |
No edit summary |
||
Line 1: | Line 1: | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
if (typeof( | if(typeof(console) != 'object') { | ||
console = {log: print}; | console = {log: print}; | ||
} | } | ||
Line 7: | Line 7: | ||
} | } | ||
var runtime = compile("return (typeof(0)=='scalar')? 'nasal':'javascript';"); | var runtime = compile("return (typeof(0)=='scalar')? 'nasal':'javascript';") (); | ||
Wrapper = { | Wrapper = { | ||
Line 23: | Line 23: | ||
console.log( runtime | console.log( runtime ); | ||
</syntaxhighlight> | </syntaxhighlight> |