Question from the Javascript test

What is the value of `obj.hello` after executing these few lines of code?

Hard

What isobj.hello value after executing these few lines of code?

var obj = { hello: 'Hello' }, hello = 'Hello';
obj[hello] += ',';
obj.hello += ' world';
obj['hello'] += '!';
Author: Jean-marie CléryStatus: PublishedQuestion passed 2232 times
Edit
4
Community EvaluationsNo one has reviewed this question yet, be the first!