Skip to content

Commit bb60e9b

Browse files
authored
Update 9-regular-expressions/17-regexp-methods/article.md
1 parent 1896a39 commit bb60e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/17-regexp-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Possui 3 modos:
4444
let result = str.match(/HTML/);
4545
4646
alert(result); // null
47-
alert(result.length); // Error: Cannot read property 'length' of null
47+
alert(result.length); // Error: Cannot read property 'length' of null (Erro: Não é possivel ler a propriedade 'length' de null)
4848
```
4949

5050
Se desejamos que o resultado seja uma matriz, podemos escrever assim:

0 commit comments

Comments
 (0)