* split string on whitespace * @param {String} str * @returns {Array} words
(str)
| 92676 | * @param {String} str |
| 92677 | * @returns {Array} words |
| 92678 | */ function splitStr(str) { |
| 92679 | return str.trim().split(/\s+/g); |
| 92680 | } |
| 92681 | /** |
| 92682 | * find if a array contains the object using indexOf or a simple polyFill |
| 92683 | * @param {Array} src |
no outgoing calls
no test coverage detected