fix(curriculum): Dead code example in (#46825)

fix(curriculum): Dead code example in #46813
pull/46837/head
Dhruv Gajjar 2022-07-10 12:36:12 +05:30 committed by GitHub
parent f2c3329855
commit a18639dc07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -25,14 +25,14 @@ const alpha = {
26:"A"
};
alpha[2];
alpha[24];
const thirdLetter = alpha[2];
const lastLetter = alpha[24];
const value = 2;
alpha[value];
const valueLookup = alpha[value];
```
`alpha[2]` is the string `Y`, `alpha[24]` is the string `C`, and `alpha[value]` is the string `Y`.
`thirdLetter` is the string `Y`, `lastLetter` is the string `C`, and `valueLookup` is the string `Y`.
# --instructions--