MCPcopy Index your code
hub / github.com/reactjs/react-rails / isFutureReservedWord

Function isFutureReservedWord

lib/assets/javascripts/JSXTransformer.js:2700–2712  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

2698 // 7.6.1.2 Future Reserved Words
2699
2700 function isFutureReservedWord(id) {
2701 switch (id) {
2702 case 'class':
2703 case 'enum':
2704 case 'export':
2705 case 'extends':
2706 case 'import':
2707 case 'super':
2708 return true;
2709 default:
2710 return false;
2711 }
2712 }
2713
2714 function isStrictModeReservedWord(id) {
2715 switch (id) {

Callers 1

throwUnexpectedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected