Correct only

Report a typo

Pay attention to the code snippets below, some of them were not implemented correctly.
Select only the ones that are correct.

A)

const arrStr = ['Lorem', 'ipsum', 'dolor'];

const result = arrStr.join(" ");

B)

numbers.map(Math.floor);

C)

const str = 'Lorem ipsum dolor';

str.join(' ');

D)

numbers.map((element) {
  return element + 10;
});

E)

const numbers = [1, 2];

const strNumbers = numbers.toString();
Select one or more options from the list
___

Create a free account to access the full topic