Computers and Technology, 25.03.2021 22:30 autumnsusan190ox9kn4
Can someone explain what this code does and mean? I'm supposed to figure out what this means/does for my class assignment but, I don't understand what the -Infinity is supposed to do and I don't understand the point of the if statement.
function highScore(finalpts) {
var end = -Infinity;
for (var i =0; i != finalpts. length; ++i) {
if (finalpts[i] > end) {
end = finalpts[i];
}
}
return end;
}
Answers: 3
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
Computers and Technology, 24.06.2019 09:30
What is the definition of digital literacy?
Answers: 1
Computers and Technology, 24.06.2019 12:30
Do you think media is stereotype ? and why?
Answers: 1
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
Can someone explain what this code does and mean? I'm supposed to figure out what this means/does fo...
Health, 07.01.2020 04:31
Chemistry, 07.01.2020 04:31
Health, 07.01.2020 04:31
Biology, 07.01.2020 04:31
Computers and Technology, 07.01.2020 04:31