Which method is used to merge two or more arrays in Javascript?

luhan
Membro
Entrou:
2024-07-22 10:08:29

Image preview

a. join()

b. merge()

c. push()

d. concat()

jenny
Membro
Entrou: 2025-08-24 15:11:06
2024-07-22 10:17:29

Na B jor!

luhan
Membro
Entrou:
2024-07-23 06:04:59

@"dhtml"#p1023 no D is the answer. the `concat` method is used to merge two or more arrays.

CassandraOliver
Admin
Entrou:
2024-07-23 07:47:13

B or D

luhan
Membro
Entrou:
2024-07-23 08:55:31

@"CassandraOliver"#p1027 you are half correct. D is the answer.

jenny
Membro
Entrou: 2025-08-24 15:11:06
2024-07-23 13:33:41

@"CassandraOliver"#p1027 No be OJORO be this?

jenny
Membro
Entrou: 2025-08-24 15:11:06
2024-07-23 13:33:55

@"luhan"#p1029 chai

luhan
Membro
Entrou:
2024-07-23 14:01:35

@"dhtml"#p1032 don't mind her😅. She totally sat on the fence there

Johnery
Membro
Entrou:
2024-07-24 07:54:02

@"luhan"#p1024

wait o, i think concatenation involves strings na..actually , just looked it up now. you can also concatenate arrays and lists too😂

luhan
Membro
Entrou:
2024-07-24 14:37:49

@"Johnery"#p1049 yes you can…see what python is doing to you😏

Facebook X (Twitter) Instagram LinkedIn Telegram WhatsApp