1👍
The value ‘a’ will be assigned to the variable command
inside the handleCommand
method. You should use the comparison command === 'a'
inside the if statement.
Source:stackexchange.com
1👍
The value ‘a’ will be assigned to the variable command
inside the handleCommand
method. You should use the comparison command === 'a'
inside the if statement.