Inline variable

Inline a variable value into its references.

Refactoring (Inline)
P42 for VS Code
P42 for GitHub
Inline variable

The variable can be a const, let, or var declaration. It must not be re-assigned.

Related Code Actions

Learn More

Available In