Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular-ui/ui-grid
/ noUnsafeEval
Function
noUnsafeEval
lib/test/angular/1.6.7/angular.js:1281–1289 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1279
return
csp.rules;
1280
1281
function
noUnsafeEval() {
1282
try {
1283
// eslint-disable-next-line no-new, no-new-func
1284
new
Function(
''
);
1285
return
false;
1286
} catch (e) {
1287
return
true;
1288
}
1289
}
1290
};
1291
1292
/**
Callers
1
csp
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected