Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed Object-Oriented JavaScript: Challenge!
Instruction
Build the mark() Method
Assignment:
Write a method called mark() inside the Space class according to the requirements and guidelines below.
Requirements and Guidelines for the mark() Method
/**
* Updates space to reflect a token has been dropped into it.
* @param {Object} token - The dropped token
*/
This method should receive one argument token. This is the Token object that was dropped into the space.
T...