We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee9fc6 commit b469a81Copy full SHA for b469a81
Roadmap/10 - EXCEPCIONES/javascript/7R0N1X.js
@@ -0,0 +1,11 @@
1
+let array = [1, 2, 3, 4, 5]
2
+
3
+try {
4
+ console.log(array[6].toString())
5
+} catch (error) {
6
+ console.error(`Error: ${error}`)
7
+} finally {
8
+ console.log('Fin de ejecución')
9
+}
10
11
+console.log('El flujo del programa continua')
0 commit comments