MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / noUnsafeEval

Function noUnsafeEval

lib/test/angular/1.7.0/angular.js:1249–1257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1247 return csp.rules;
1248
1249 function noUnsafeEval() {
1250 try {
1251 // eslint-disable-next-line no-new, no-new-func
1252 new Function('');
1253 return false;
1254 } catch (e) {
1255 return true;
1256 }
1257 }
1258};
1259
1260/**

Callers 1

cspFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected