Difference Between in and hasOwnProperty in javascript

Let me explain you briefly ⊕ in: basically its a keywork in javascript, it checks whether the  propreties there are not in the object as well as its prototype chain. If properties are there it returns true otherwise false. but ⊕ hasOwnProperty:  it is also a keyword in javascript, it checks for the prorperties only in … Continue reading Difference Between in and hasOwnProperty in javascript

Advertisements