subject
Computers and Technology, 17.07.2019 04:10 leo4687

Write a function deepequal that takes two values and returns true only if they are the same value or are objects with the same properties, where the values of the properties are equal when compared with a recursive call to deepequal. to find out whether values should be compared directly (use the === operator for that) or have their properties compared, you can use the typeof operator. if it produces "object" for both values, you should do a deep comparison. but you have to take one silly exception into account: because of a historical accident, typeof null also produces "object".

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
You know the right answer?
Write a function deepequal that takes two values and returns true only if they are the same value or...
Questions
question
Spanish, 25.01.2021 05:20
Questions on the website: 13722361