Debian Codegraph @

packages/babel-plugin-polyfill-es-shims/test/fixtures/usage-pure/conflict-instance/output.mjs

raw symbols SCIP
1 var _foo;
2
3 import _StringPrototypeAt from "string.prototype.at";
4 import _ArrayPrototypeAt from "array.prototype.at";
5
6 _StringPrototypeAt("abc", -1);
7
8 _ArrayPrototypeAt([1, 2, 3], -1);
9
10 (_foo = foo, typeof _foo === "string" ? _StringPrototypeAt : Array.isArray(_foo) ? _ArrayPrototypeAt : Function.call.bind(_foo.at))(_foo, -1);