(key: string)
| 452 | } |
| 453 | |
| 454 | static isReserved(key: string) { |
| 455 | return /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(key); |
| 456 | } |
| 457 | |
| 458 | static isDotPropAccessor(prop: string) { |
| 459 | return /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(prop); |
no test coverage detected