Commit a6ba63c
committed
[PW-11.6/ret] Exclude use "substr()" method
Correct server logic/file, replace "substr()" with "slice()" method.
Deserv(s) attention:
- that the "substr()" method is now deprecated (according to MDN).
core: B-3 / JS-BL1 parent 1b0e04e commit a6ba63c
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- core-courses/3-js-basic-level/11-server-async-await/11-6-pw-11-server-async-await/students-db-server
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
0 commit comments