Home / File/ hoisting-repro-variable-used-in-assignment.js — react Source File

hoisting-repro-variable-used-in-assignment.js — react Source File

Architecture documentation for hoisting-repro-variable-used-in-assignment.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function get2() {
  const callbk = () => {
    const copy = x;
    return copy;
  };
  const x = 2;
  return callbk();
}

export const FIXTURE_ENTRYPOINT = {
  fn: get2,
  params: [],
};

Subdomains

Functions

Frequently Asked Questions

What does hoisting-repro-variable-used-in-assignment.js do?
hoisting-repro-variable-used-in-assignment.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 hoisting-repro-variable-used-in-assignment.js?
hoisting-repro-variable-used-in-assignment.js defines 1 function(s): get2.
Where is hoisting-repro-variable-used-in-assignment.js in the architecture?
hoisting-repro-variable-used-in-assignment.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/hoisting-repro-variable-used-in-assignment.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