On Thu, Dec 16, 2010 at 11:47 PM, Derek Gathright <[email protected]> wrote:
> Here's a hacky way to do it.  Found in my cornify Node.js module. :)
> https://github.com/drgath/cornify/blob/master/lib/cornify.js

Seems like a very nice hack, but unfortunately, it doesn't work in
Rhino, which doesn't print the comments.

x = (function () {/*
           \\
            \\
             \\\\
              \\\\
               >\\/7
           _.-(6'  \\
          (=___._/` \\
               )  \\ |
              /   / |
             /    > /
            j    < _\\
        _.-' :      ``.
        \\ r=._\\        `.
       <`\\\\_  \\         .`-.
        \\ r-7  `-. ._  ' .  `\\
         \\`,      `-.`7  7)   )
          \\/         \\|  \\'/
                     ||    .'
                     \\\\  (
                     >\\  >
                  ,.-' >.'
                 <.'_.''
                   <'
    */})

print(x)

Yields:

function () {
}


Jake

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to