Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
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 ...