Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Resum

La propietat columnNumber conté el nombre de la columna dins la línia del fitxer on s'ha produit l'error.

Exemples

Exemple: Utilitzar columnNumber

var e = new Error('Error interpretant les dades');
throw e;
console.log(e.columnNumber) // 0

Especificacions

No forma part de cap especificació. No és standard.

Compatibilitat amb navegadors

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Característica Chrome Firefox (Gecko) Internet Explorer Opera Safari
Suport bàsic No support (Yes) No support No support No support
Característica Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Suport bàsic No support No support (Yes) No support No support No support

Vegeu també

Document Tags and Contributors

Contributors to this page: teoli, enTropy
Last updated by: teoli,