0

I'm looking Javascript's equivalent for this piece of code:

var ERROR = "Received error: %s";

function reportError (err) {
    reporter.log(ERROR, err);
}

Is there such built-in functionality in Javascript? like in C#, Java and so..?

Davis Broda
  • 4,102
  • 5
  • 23
  • 37
johni
  • 5,342
  • 6
  • 42
  • 70

0 Answers0