MCPcopy Create free account
hub / github.com/asm-js/validator / spaces

Function spaces

lib/fail.js:11–16  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

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

Callers 1

fail.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected