Use dots to read a property. Use brackets if the key has spaces or exists as a variable. A method is a function inside an object. The word this points to the object you call. Use regular functions for ...
This repository is all about my coding practice in Skillrack Platform - nivedha-ravi/Code-and-Compile ...
Check if a property exists Use the in operator to check for a key. It returns true or false. 'employeeId' in employee This tells you if the key lives inside the object.