Skip to content

Commit

Permalink
가장 큰 수 찾기
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed Mar 30, 2023
1 parent 06987c4 commit ed3310b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Programmers/exam52.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function solution(array) {
return [Math.max(...array), array.indexOf(Math.max(...array))];
}

0 comments on commit ed3310b

Please sign in to comment.