MCPcopy
hub / github.com/parallel-js/parallel.js / tryIt

Function tryIt

test/jasmine/jasmine.js:633–638  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

631 typeof XMLHttpRequest === 'undefined'
632 ? function() {
633 function tryIt(f) {
634 try {
635 return f();
636 } catch (e) {}
637 return null;
638 }
639
640 const xhr =
641 tryIt(() => new ActiveXObject('Msxml2.XMLHTTP.6.0')) ||

Callers 1

jasmine.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected