Skip to content

Get name of a cloned objects definition #5

@zarat

Description

@zarat

Is there a way to get the name of an object? For e.g if i create an object like this

var myBaseObject = {
    name: "Test",
    value: 3
};

and now i want to get the name of the object myBaseObject. How can i do that? For e.g i want to write a function to tell me the name of the object

var test = myBaseObject.clone();
var theName = test.getObjectName();

Afterwards the variable theName should output myBaseObjetct.

Is that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions