Closed digiblackdranzer closed 1 year ago
Describe the bug In the problem statement, it is mentioned that we are expected to create an object in file object-keys.js as follows:
const car = { make: 'Honda', model: 'Accord' }
However, while executing
javascripting verify object-keys.js
In output expected solution differs from what described in problem statement.
Output:
Your Attempt ===================
[ 'make', 'model']
Difference ===================
[ 'make', 'model', 'year']
To Reproduce Steps to reproduce the behavior:
car = { make:'Honda', model:'Accord' } keys = Object.keys(car) console.log(keys)
Expected behavior It should output correct instead of giving error
Screenshots NA
Execution environment (please complete the following information):
I forgot to mention that I'm using VSCode's terminal to do the workshop
Describe the bug In the problem statement, it is mentioned that we are expected to create an object in file object-keys.js as follows:
const car = { make: 'Honda', model: 'Accord' }
However, while executing
javascripting verify object-keys.js
In output expected solution differs from what described in problem statement.
Output:
Your Attempt ===================
[ 'make', 'model']
Difference ===================
[ 'make', 'model', 'year']
To Reproduce Steps to reproduce the behavior:
Expected behavior It should output correct instead of giving error
Screenshots NA
Execution environment (please complete the following information):