Question 151
A developer has an is Dog function that takes one argument cat. They want to schedule the function to run every minute.
What is the correct syntax for scheduling this function?
What is the correct syntax for scheduling this function?
Question 152
Refer to the following code block:
class Animal{
constructor(name){
this.name = name;
}
makeSound(){
console.log(`${this.name} is making a sound.`)
}
}
class Dog extends Animal{
constructor(name){
super(name)
this.name = name;
}
makeSound(){
console.log(`${this.name} is barking.`)
}
}
let myDog = new Dog('Puppy');
myDog.makeSound();
What is the console output?
class Animal{
constructor(name){
this.name = name;
}
makeSound(){
console.log(`${this.name} is making a sound.`)
}
}
class Dog extends Animal{
constructor(name){
super(name)
this.name = name;
}
makeSound(){
console.log(`${this.name} is barking.`)
}
}
let myDog = new Dog('Puppy');
myDog.makeSound();
What is the console output?
Question 153
Given the JavaSript below:

Which code should replace the placeholder comment on line 05 to hide accounts that do not match the search string?

Which code should replace the placeholder comment on line 05 to hide accounts that do not match the search string?
Question 154
Given the HTML below:

Which statement adds the priority-account CSS class to the Universal Containers row?

Which statement adds the priority-account CSS class to the Universal Containers row?
Question 155
A developer is wondering whether to use, Promise.then or Promise.catch, especially when a Promise throws an error?
Which two promises are rejected?
Which 2 are correct?
Which two promises are rejected?
Which 2 are correct?