updated support status for substr()

pull/759/head
sapiensFactor 2 years ago
parent 65e85f642b
commit 36f34ad4c4

@ -514,6 +514,9 @@ let country = 'Finland'
console.log(country.substr(3, 4)) // land
```
**NOTE**: `substr()` is no longer recommended, although some browsers may support it for compatibility reasons, it is in the process of being dropped.
6. *substring()*: It takes two arguments, the starting index and the stopping index but it doesn't include the character at the stopping index.
```js

Loading…
Cancel
Save