What is javascript object literal

Source:  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Object_literals   An object literal is a list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}). Do not use an object literal at the beginning of a statement. This will lead to an error or not behave as you expect, because the { will … Read moreWhat is javascript object literal

What is the difference between an abstract function and a virtual function?

Source: https://stackoverflow.com/questions/391483/what-is-the-difference-between-an-abstract-function-and-a-virtual-function An abstract function cannot have functionality. You’re basically saying, any child class MUST give their own version of this method, however it’s too general to even try to implement in the parent class. A virtual function, is basically saying look, here’s the functionality that may or may not be good enough for the child class. … Read moreWhat is the difference between an abstract function and a virtual function?