Home / File/ capturing-variable-in-nested-function.js — react Source File

capturing-variable-in-nested-function.js — react Source File

Architecture documentation for capturing-variable-in-nested-function.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function component(a) {
  let z = {a};
  let x = function () {
    (function () {
      console.log(z);
    })();
  };
  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: component,
  params: ['TodoAdd'],
  isComponent: 'TodoAdd',
};

Subdomains

Functions

Frequently Asked Questions

What does capturing-variable-in-nested-function.js do?
capturing-variable-in-nested-function.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in capturing-variable-in-nested-function.js?
capturing-variable-in-nested-function.js defines 1 function(s): component.
Where is capturing-variable-in-nested-function.js in the architecture?
capturing-variable-in-nested-function.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/capturing-variable-in-nested-function.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free