subject

Function exerciseone(userclass){// exercise one: in this exercise you are given a class called userclass.// you will be adding a method to the prototype called greeting// this method will return the string: 'hello, it is nice to meet you! '// do not create a new class or object // write your code in the lines abovereturn userclass}function exercisetwo(animalclass){// exercise two: in this exercise you are given a class called animalclass.// the class will already have the properties 'name', 'noise' on it.// you will be adding a method to the prototype called 'speak'// using the 'this' keyword, speak should return the following string: // ' says '// do not create a new class or object // write your code in the lines abovereturn animalclass}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:50
You have written, as part of a school assignment, a research paper on the solar system. you want to share this paper on your school website. on which type of server will you upload it?
Answers: 1
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
You know the right answer?
Function exerciseone(userclass){// exercise one: in this exercise you are given a class called user...
Questions
Questions on the website: 13722363