Error: columnNumber - JavaScript | MDN
Value
A positive integer.
Property attributes of Error: columnNumber | |
|---|---|
| Writable | yes |
| Enumerable | no |
| Configurable | yes |
Examples
Using columnNumber
js
try {
throw new Error("Could not parse input");
} catch (err) {
console.log(err.columnNumber); // 9
}
Specifications
Not part of any standard.