(base, props)
| 110 | function nothing() {} |
| 111 | |
| 112 | export function createObj(base, props) { |
| 113 | let inst |
| 114 | if (Object.create) { |
| 115 | inst = Object.create(base) |
| 116 | } else { |
| 117 | nothing.prototype = base |
| 118 | inst = new nothing() |
| 119 | } |
| 120 | if (props) copyObj(props, inst) |
| 121 | return inst |
| 122 | } |
| 123 | |
| 124 | let nonASCIISingleCaseWordChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/ |
| 125 | export function isWordCharBasic(ch) { |
no test coverage detected