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 >>
Write a JS function that display the bio data (firstName, LastName, age,email) of 3 Persons as shown in table PersonFirst NameLast NameAgeEmailPerson 1ShairyKalra32er.shairykalra@gmail.comPerson 2EtudeproPerson 3Dummy... READ MORE >>
Recent Comments