Skip to content
Junior–Senior161 views

What result will appear in the console (example 52)

Task condition

Determine what output will be obtained in the console after executing the following JavaScript code fragment:


const.obj = {
someProp: ''
}
console.log(someProp)
console.someProp = 'James'
console.log(obj.someProp)

Frontend tasks in the code trainer