mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-24 04:36:31 +00:00
10 lines
258 B
Markdown
10 lines
258 B
Markdown
# `string.capitalize()` _(ext/string\_/capitalize)_
|
|
|
|
Capitalize input string, e.g. convert `this is a test` into `This is a test`.
|
|
|
|
```javascript
|
|
const capitalize = require("ext/string_/capitalize");
|
|
|
|
capitalize.call("this is a test"); // This is a test
|
|
```
|