Question 2(b) 2019 · May-June · Paper 33 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (b)
Question 2
Show text version of question
Question 2
Part (b)
Question 2
In JavaScript code, the sort() function is used to sort lists into ascending order.
Part (b)
Write a line of JavaScript code that could be used to sort the list of insects in Fig. 2.1 into
descending order.
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 4
Why this question appears here
98% assigned-topic match · Programming for the web
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9626_s19_qp_33.pdf
