The button is clicked once. What does the console show?

btn.onclick = () => console.log("A")
btn.onclick = () => console.log("B")