diff --git a/index.js b/index.js index a831062..2091fdb 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ module.exports = { } , isSecword(secword){ - if (typeof secword==='string' && 12===secword.split(/ +/)) + if (typeof secword==='string' && 12===secword.split(/ +/).length) return Secword.isValid(secword) else return false