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
Característica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Suport bàsic | Not supported | (Yes) | Not supported | Not supported | Not supported |
Característica | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Suport bàsic | Not supported | Not supported | (Yes) | Not supported | Not supported | Not supported |
Vegeu també
Document Tags and Contributors
Last updated by:
teoli,