Skip to main content

Timeline for A Quine on Every Line

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Sep 13, 2015 at 17:54 comment added Patrick Roberts I tested them on latest chrome since I was trying to golf your first solution with ! instead of enclosing parentheses and putting the function execution after the for loop to avoid the need for the for loop semicolon body which would save (I think) 4 bytes
Sep 13, 2015 at 17:52 comment added DankMemes Interesting. For me in Firefox Developer Edition 42.0a2 (2015-09-13), both work. I guess once the standard is fully adopted the first one will stop working.
Sep 13, 2015 at 17:47 comment added Patrick Roberts Okay, well I just tested both of them, you are correct about the alternative solution, but your first solution fails and I figured out why. According the MDN documentation on arrow functions, "Arrow functions do not expose an arguments object to their code" so your arguments.callee does not exist and throws an error.
Sep 13, 2015 at 15:27 comment added DankMemes No. There is no recursion so nothing should be adding up on the stack.
Sep 13, 2015 at 13:23 comment added Patrick Roberts Wouldn't the alternative cause a stack overflow?
Sep 12, 2015 at 19:09 history answered DankMemes CC BY-SA 3.0