MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / computedPropertyName

Function computedPropertyName

ServerEditorWeb/ace/worker-javascript.js:6448–6456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6446 }
6447
6448 function computedPropertyName() {
6449 advance("[");
6450 if (!state.option.esnext) {
6451 warning("W119", state.tokens.curr, "computed property names");
6452 }
6453 var value = expression(10);
6454 advance("]");
6455 return value;
6456 }
6457 function checkPunctuators(token, values) {
6458 return token.type === "(punctuator)" && _.contains(values, token.value);
6459 }

Callers 2

classbodyFunction · 0.85

Calls 3

advanceFunction · 0.85
warningFunction · 0.85
expressionFunction · 0.85

Tested by

no test coverage detected