Prevent Object Mutation - 12
As seen in the previous challenge, a const declaration alone doesn't really protect your data f…
As seen in the previous challenge, a const declaration alone doesn't really protect your data f…
getTimezoneOffset: Show the difference between the Date object and UTC time. If local time is ahead…
JavaScript provides us with a built-in object named Date to work with time. This object works diffe…
Object with for-in loop: const obj = { Bangladesh: "Dhaka" , India: "…
Use the call() method in the same object without arguments: const person = { name: "…
As a Global object: Alone, this refers to the global object. As a Global object in a function: func…
call(), bind(), and apply(): methods are used to refer "this" keyword to any object. With…