Skip to content

Commit 311aca2

Browse files
committed
Update 2개 이하로 다른 비트 수정
1 parent c82d227 commit 311aca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

level-2/2개-이하로-다른-비트.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//https://github.com/codeisneverodd/programmers-coding-test
22
//완벽한 정답이 아닙니다.
33
//정답 1 - le2sky
4-
function solution(n) {
5-
let answer = [];
4+
function solution(numbers) {
5+
const answer = [];
66
numbers.forEach((num) => {
77
if (num % 2 == 0) answer.push(num + 1);
88
else {

0 commit comments

Comments
 (0)