It might be nice to wrap console.log to return output messages instead of just returning the result only. As I recall, it's a little awkward since the way in which console interacts with arguments isn't fully covered by standards so it takes some care to do properly. Otherwise perhaps there's another way to intercept and forward these messages to the output.
It might be nice to wrap console.log to return output messages instead of just returning the result only. As I recall, it's a little awkward since the way in which
consoleinteracts withargumentsisn't fully covered by standards so it takes some care to do properly. Otherwise perhaps there's another way to intercept and forward these messages to the output.