WED201c_-_FA_2024_-_FE_3151.webp
T

WED201c_-_FA_2024_-_FE_3151.webp

Kizspy | Question: 24
(Choose 1 answer)
Consider the code:
<script>
function createArray(){MISSING CODE;
} </script>
<input type="button" value="getValue" onclick="createArray()">
What code is added at [MISSING CODE] to create the array with items: 1,2,3,4?
A. var arr={1,2,3,4}
B. var arr=[1,2,3,4]
C. var arr={1,2,3,4}
D. var arr[]={1,2,3,4}
FUOVERFL

Thông tin

Category
WED201c
Thêm bởi
ThuyPhuong86
Ngày thêm
Lượt xem
4,800
Lượt bình luận
21
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom