code: function stringify (val) {
    var stack = val.stack
  
    if (stack) {
      return String(stack)
    }
  
    var str = String(val)
  
    return str === toString.call(val)
      ? inspect(val)
      : str
  }
docs: Stringify a value.
  @api private