You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2235,19 +2235,16 @@
2235
2235
| These variables do not exist in a program and are not declared | These variables declared in the program but have not assigned any value |
2236
2236
| If you try to read the value of an undeclared variable, then a runtime error is encountered | If you try to read the value of an undefined variable, an undefined value is returned. |
2237
2237
2238
-
```javascript
2239
-
2238
+
```javascript
2240
2239
var a;
2241
2240
a; // yields undefined
2242
2241
2243
-
b; // Throws runtime error like „Uncaught ReferenceError: b is not defined“
2244
-
2242
+
b; // Throws runtime error like "Uncaught ReferenceError: b is not defined"
2245
2243
```
2246
-
This can be confusing, because it says „not defined“ instead of „not declared“ (Chrome)
2244
+
This can be confusing, because it says `not defined` instead of `not declared` (Chrome)
0 commit comments