Skip to content
Advertisement

I can’t write the second data in my object to div

I can’t write the second data in my object to div

JavaScript

Note : i put here the css codes cause maybe should necessary

OUTPUT

despite can write “comments.yorum” , why ı cant write “comments.isim”

i’ve tried to write comments.isim to div , i can’t write comments.isim despite can write comments.yorum,I couldn’t see comments.isim

Advertisement

Answer

The issue was caused by your variable’s name. You cannot use name as a variable name. name is a property of window.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement