AI도 무조건 틀리는 Javascript 퀴즈

중고 자몽차(따뜻함) @dvbeetle@hackers.pub

오늘 자바스크립트 공부하면서 만들어본 퀴즈에요!

출력을 한 번 맞춰 보세용

참고로 Claude Opus, GPT 4.5, Gemini 2.5 Pro 전부 다 틀렸던ㅎㅎ 문제입니다.

const age = {
    ruby: 18,
    ayumu: 19,
    siki: 20
}

const preferences = {
    ruby: ["mint chocolate", "you"],
    ayumu: ["strawberry", "you"],
    siki: ["cookie and cream", "you"]
}

["ruby", "ayumu", "siki"].forEach(printAge)

function printAge(name) {
    console.log(`${name} is ${age[name]}`)
}
3

1 comment

If you have a fediverse account, you can comment on this article from your own instance. Search https://hackers.pub/ap/articles/0197f9e1-22a5-79fc-9c48-d3a56da34113 on your instance and reply to it.

0