← 문제 목록
중급
PHP
50P
array_map 함수
다음 코드의 결과로 올바른 것은?
PHP
$result = array_map(fn($n) => $n * 2, [1, 2, 3]);
print_r($result);
1명 풀이 · 정답률 100%