(n)
| 9 | ValidationError.prototype = Object.create(Error.prototype); |
| 10 | |
| 11 | function spaces(n) { |
| 12 | var result = ""; |
| 13 | for (var i = 0; i < n; i++) |
| 14 | result += " "; |
| 15 | return result; |
| 16 | } |
| 17 | |
| 18 | ValidationError.prototype.context = function() { |
| 19 | if (!this.src || !this.loc) |