Skip to content

Commit c9913f5

Browse files
committed
Sprint 1 errors: explain 0.js syntax error
1 parent 1dae459 commit c9913f5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Sprint 1 — Mandatory Errors (Explanations)
2+
3+
## 0.js
4+
- Error shown:
5+
- Why it happens:
6+
- MDN link (optional):
7+
- Error shown: `SyntaxError: Unexpected identifier 'is'` on line 1.
8+
- Why it happens: The file begins with plain English text that is not inside a comment or a quoted string. Node tries to interpret it as JavaScript code, but `This is ...` is not valid JS syntax, so parsing fails.
9+
- MDN link (optional): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_token
10+
11+
## 1.js
12+
- Error shown:
13+
- Why it happens:
14+
- MDN link (optional):
15+
16+
## 2.js
17+
- Error shown:
18+
- Why it happens:
19+
- MDN link (optional):
20+
21+
## 3.js
22+
- Error shown:
23+
- Why it happens:
24+
- MDN link (optional):
25+
26+
## 4.js
27+
- Error shown:
28+
- Why it happens:
29+
- MDN link (optional):

0 commit comments

Comments
 (0)