(ch)
| 4982 | |
| 4983 | var nonASCIISingleCaseWordChar = /[\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc]/; |
| 4984 | function isWordChar(ch) { |
| 4985 | return /\w/.test(ch) || ch > "\x80" && |
| 4986 | (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch)); |
| 4987 | } |
| 4988 | |
| 4989 | function isEmpty(obj) { |
| 4990 | for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false; |
no test coverage detected