MCPcopy
hub / github.com/react/create-react-app / StackFrame

Function StackFrame

packages/react-error-overlay/fixtures/bundle.mjs:25629–25638  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

25627 var arrayProps = ['args'];
25628
25629 function StackFrame(obj) {
25630 if (obj instanceof Object) {
25631 var props = booleanProps.concat(numericProps.concat(stringProps.concat(arrayProps)));
25632 for (var i = 0; i < props.length; i++) {
25633 if (obj.hasOwnProperty(props[i]) && obj[props[i]] !== undefined) {
25634 this['set' + _capitalize(props[i])](obj[props[i]]);
25635 }
25636 }
25637 }
25638 }
25639
25640 StackFrame.prototype = {
25641 getArgs: function () {

Callers

nothing calls this directly

Calls 1

_capitalizeFunction · 0.85

Tested by

no test coverage detected