fix: console stringify

This commit is contained in:
redhoodsu
2019-08-04 18:18:13 +08:00
parent d5f2b5d303
commit 2cc7e386e1
3 changed files with 51 additions and 3 deletions

View File

@@ -1740,6 +1740,19 @@ loadJs('main.js', function (isLoaded) {
});
```
## lowerCase
Convert string to lower case.
|Name |Type |Desc |
|------|------|------------------|
|str |string|String to convert |
|return|string|Lower cased string|
```javascript
lowerCase('TEST'); // -> 'test'
```
## lpad
Pad string on the left side if it's shorter than length.