card.name
card.name = text; // set card name
The name property returns or sets the name of the specified card.