mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
easy: name InstructionKind enum values (#818)
This commit is contained in:
@@ -180,9 +180,18 @@ export type LValue = {
|
||||
};
|
||||
|
||||
export enum InstructionKind {
|
||||
Const, // const declaration
|
||||
Let, // let declaration
|
||||
Reassign, // assing a new value to a let binding
|
||||
/**
|
||||
* const declaration
|
||||
*/
|
||||
Const = "Const",
|
||||
/**
|
||||
* let declaration
|
||||
*/
|
||||
Let = "Let",
|
||||
/**
|
||||
* assing a new value to a let binding
|
||||
*/
|
||||
Reassign = "Reassign",
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user