(프로그래머스) 내적

유지원·2022년 1월 11일
0

프로그래머스

목록 보기
8/66
post-thumbnail

문제 링크

https://programmers.co.kr/learn/courses/30/lessons/70128?language=javascript


Javascript

function solution(a, b) {
  return a.reduce((a, v, i) => a+(v*b[i]), 0)
}
profile
👋 https://github.com/ujw0712

0개의 댓글