objects, where the object keys and values are unknwon
HOw can it be done?
I tried Array.map> Object.keys(obj).map => return but it was giving some error
then i tried Array.map > for in loop to get key but this returns the first key and stops (as expected)
why you want to map over object key? you just need to change the value
Обсуждают сегодня