Skip to content

stubString

js
_.stubString()

此方法返回一个空字符串。

¥This method returns an empty string.

新增于

¥Since

4.13.0

返回

¥Returns

(字符串):返回空字符串。

¥(string): Returns the empty string.

示例

¥Example

js
_.times(2, _.stubString);
// => ['', '']

Lodash v4.17 中文网 - 粤ICP备13048890号