(flags)
| 190 | } |
| 191 | |
| 192 | function createInvalid(flags) { |
| 193 | var m = createUTC(NaN); |
| 194 | if (flags != null) { |
| 195 | extend(getParsingFlags(m), flags); |
| 196 | } else { |
| 197 | getParsingFlags(m).userInvalidated = true; |
| 198 | } |
| 199 | |
| 200 | return m; |
| 201 | } |
| 202 | |
| 203 | // Plugins that add properties should also add the key here (null value), |
| 204 | // so we can properly clone ourselves. |
no test coverage detected