Skip to content

Commit b180804

Browse files
authored
Update 05-identifier.md
1 parent 3cbcefc commit b180804

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notes/English/05-identifier.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ For example, the following code defines a variable called myVariable:
2020

2121
- for example:
2222

23-
```
23+
```javascript
2424
let myVariable = 10; //myVariable is an identifer
2525
```
2626

27-
```
27+
```javascript
2828
sum is an identifier here
2929
function sum(a, b) {
3030
console.log(a + b);
@@ -37,14 +37,14 @@ JavaScript's Identifiers are a key aspect of the language, and are used extensiv
3737

3838
- Invalid Identifier examples
3939

40-
```
40+
```javascript
4141
let 12x = 10;
4242
let &value = 10;
4343
```
4444

4545
- Valid Identifier examples
4646

47-
```
47+
```javascript
4848
let x12 = 10;
4949
let _value = 20;
5050
let $_value = 100;

0 commit comments

Comments
 (0)