Methods
Char_static(text) → {Object}
统计字符串中每个字符出现次数
Parameters:
Name | Type | Description |
---|---|---|
text |
string | 需要统计的字符串 |
Returns:
返回一个对象
- Type
- Object
Name | Type | Description |
---|---|---|
text |
string | 需要统计的字符串 |