Divya Verma
65 posts

Divya Verma
@divyaver1967
software developer who loves to create and solve problems. When I’m not coding, you’ll find me sketching, playing music, or getting lost in books.
Katılım Aralık 2024
48 Takip Edilen5 Takipçiler


🚀 Mastering React Navigation: push vs navigate:
In React Navigation, push and navigate handle screen transitions, but they work differently. Understanding their nuances can help you build a smoother app experience.
#javascript #reactnative #InterviewPreparation #Coding
English

function Person(name) {
this.name = name;
}
const yomesh = new Person("Yomesh");
console.log(yomesh); // Output: Person { name: 'Yomesh' }
Understanding constructor behavior helps avoid tricky bugs! 🚀
English

🧵Primitive Return in Constructor 🚨 :
When a constructor returns a primitive value, it’s ignored, and the new keyword returns the created instance (this).
#javascript #CodingChallenge #WebDevelopment
English

While bind returns a new function, call and apply immediately execute the function with a custom this.
1. dog.bark.call(cat); // Whiskers says Woof!
2. dog.bark.apply(hamster); // Speedy says Woof!
English

🚀 Mastering this in JavaScript: bind, call, and apply
#CodingChallenge #javascriptmas #webdevelopers #tech
English




