getEntityName (Client API reference)
Returns the logical name of the table associated with the stage.
Syntax
var stageEntityName = stageObj.getEntityName();
Note
Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.
Return Value
Type: String.
Description: Logical name of the table associated with the stage.