mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(binom) rm " "
This commit is contained in:
parent
53b08abc57
commit
dee5abc100
1 changed files with 2 additions and 2 deletions
|
|
@ -7,10 +7,10 @@
|
|||
var ret;
|
||||
|
||||
if (!Array.isArray(array))
|
||||
throw(Error('array should be array!'));
|
||||
throw Error('array should be array!');
|
||||
|
||||
if (typeof name !== 'string')
|
||||
throw(Error('name should be string!'));
|
||||
throw Error('name should be string!');
|
||||
|
||||
array.some(function(item) {
|
||||
var is = item.name === name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue