commit
9b03ee79bd
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ There are two variants here:
|
||||||
|
|
||||||
Here's the 2nd variant:
|
Here's the 2nd variant:
|
||||||
|
|
||||||
```js run
|
```js run demo
|
||||||
function ucFirst(str) {
|
function ucFirst(str) {
|
||||||
if (!str) return str;
|
if (!str) return str;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue