MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / destructuringPattern

Function destructuringPattern

lib/web/jshint.js:22311–22320  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

22309 }(delim("{")));
22310
22311 function destructuringPattern(options) {
22312 var isAssignment = options && options.assignment;
22313
22314 if (!state.inES6()) {
22315 warning("W104", state.tokens.curr,
22316 isAssignment ? "destructuring assignment" : "destructuring binding", "6");
22317 }
22318
22319 return destructuringPatternRecursive(options);
22320 }
22321
22322 function destructuringPatternRecursive(options) {
22323 var ids;

Callers 4

jshint.jsFile · 0.85
functionparamsFunction · 0.85
blockVariableStatementFunction · 0.85
doCatchFunction · 0.85

Calls 2

warningFunction · 0.85

Tested by

no test coverage detected