Vandana
Vandana
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
so no need to worry about these.
16 replies
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
yup.
16 replies
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
and these?
16 replies
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
yea true.
16 replies
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
when do we come across these?
16 replies
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
Object to primitive type conversions.
16 replies
KPCKevin Powell - Community
Created by Vandana on 7/1/2024 in #front-end
Object Conversions
Thanks for responding.
16 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
Thanks for info.
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
Okay..
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
This kind of usecase isnt there right?
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
This was my question actually,two objects same reference,only values of targetd object should be modified.not both the values of obj should alter. simulateously
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
By this process of cloning two objects have same reference but values can be targeted for individual object
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
even structured clone can be done right?
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
is there any usecase for nested cloning in real-time is it widely used?
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
clone this is a diiferent topic then in objects?
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
const product1 = {
name : 'Football',
price:500

}
const product2 = product1;
console.log(product2)
product2.name ='volleyball';//product1.name=>volleyball

const product1 = {
name : 'Football',
price:500

}
const product2 = product1;
console.log(product2)
product2.name ='volleyball';//product1.name=>volleyball

we cant change name of only product2??
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
most people wont understand refernce in object.
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
But then people have to diggin a lot to understand else it will be kinda overwhelming
77 replies
KPCKevin Powell - Community
Created by Vandana on 6/28/2024 in #front-end
Const objects can be modified
Got it!
77 replies