Error.prototype.columnNumber

The columnNumber property contains the column number in the line of the file that raised this error.

Examples

Using columnNumber

var e = new Error('Could not parse input');
throw e;
console.log(e.columnNumber) // 0

Specifications

Not part of any standard.

Browser compatibility

Chockalingam