MCPcopy Create free account
hub / github.com/dchester/jsonpath / isFutureReservedWord

Function isFutureReservedWord

jsonpath.js:269–281  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

267 // 7.6.1.2 Future Reserved Words
268
269 function isFutureReservedWord(id) {
270 switch (id) {
271 case 'class':
272 case 'enum':
273 case 'export':
274 case 'extends':
275 case 'import':
276 case 'super':
277 return true;
278 default:
279 return false;
280 }
281 }
282
283 function isStrictModeReservedWord(id) {
284 switch (id) {

Callers 1

throwUnexpectedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected