Question: Provide the code to add the custom dropRank() method to the pokerCard object that changes the value of the rank property to Queen. ( Hint
Provide the code to add the custom dropRank() method to the pokerCard object that changes the value of the rank property to "Queen". (Hint: Create the dropRank() function and use the this keyword to reference the current object.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
