Object is the most important data-type for modern JavaScript that contain any combination of data-types in the form of “key: value” pairs. These keys can be variables or functions in the term of an object that can be created with curly brackets... READ MORE >>
We use Var keyword in declaring the variable and the scope of the variable is either global or local. The scope of the variable is global if we declare the variable outside of a function otherwise local if declare the variable inside a function.... READ MORE >>
Create an Animal class with by default 0 speed and use two methods for run and stop then create another class Rabbit that inherit the animal with function name hide. class Animal { constructor(name) { this.speed = 0; this.name =... READ MORE >>
Task for HTML Create a empty div with class name resultCreate a button with class name btn and apply onclick event here with output function Task for DOM Find the above result and btn class using query selector method Task for... READ MORE >>
Recent Comments