GoConqr has a new look! Let us know what you think.

Module 28 of 35 · Text

#28

welligton costa

/ *

Métodos de array - .includes ()

---------------------------

Complete a função abaixo para verificar se um país está no Reino Unido

* /

 

 

var ukNations = ["Scotland", "Wales", "England", "Northern Ireland"];

function isInUK(country) {

return; // complete this statement

}

/*

DO NOT EDIT BELOW THIS LINE

--------------------------- */

console.log(isInUK("France"));

console.log(isInUK("Republic of Ireland"));

console.log(isInUK("England"));

 


/ *

RESULTADO ESPERADO

---------------

falso

falso

verdade

* /

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?