I’m trying to create an object and I want to return the name of the object.
Card = new Object();
As = new Card();
As.name = "Ace";
As.suit = "spades";
As.value = "13";
Now how would I get it to return and trace “As”, the name of the new Card?
I’m trying to create an object and I want to return the name of the object.
Card = new Object();
As = new Card();
As.name = "Ace";
As.suit = "spades";
As.value = "13";
Now how would I get it to return and trace “As”, the name of the new Card?
:: Copyright KIRUPA 2024 //--