The 'deleting resources' section has a code snippet which compares a string to an integer (e.g., node.id !== id) that causes the example to not work as intended. Therefore, change the definition of the id variable to be an integer so the comparison and code works as intended.
The 'deleting resources' section has a code snippet which compares a string to an integer (e.g., node.id !== id) that causes the example to not work as intended. Therefore, change the definition of the id variable to be an integer so the comparison and code works as intended.