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: data/blog/software-development/web-development/frontend/javascript/slice-vs-substring-vs-substr-complete-javascript-string-methods-comparison.mdx
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1020,7 +1020,7 @@ console.log(stripHTML('Plain text without tags'));
1020
1020
1021
1021
## Common Pitfalls and Mistakes
1022
1022
1023
-
### Pitfall 1: Confusing substring() with slice()
1023
+
### Pitfall 1: Confusing `substring()` with `slice()`
0 commit comments