(str)
| 22 | * @returns {VersionValue[]} result |
| 23 | */ |
| 24 | var splitAndConvert = function (str) { |
| 25 | return str.split(".").map(function (item) { |
| 26 | // eslint-disable-next-line eqeqeq |
| 27 | return +item == /** @type {string | number} */ (item) ? +item : item; |
| 28 | }); |
| 29 | }; |
| 30 | |
| 31 | var match = |
| 32 | /** @type {RegExpExecArray} */ |
no test coverage detected