Open this page in a separate tab, then copy these commands one by one to the console of the Chinese version:
console.log('addJoker function:', typeof addJoker)
console.log('addCard function:', typeof addCard)
console.log('jokerCount:', jokerCount)
console.log('cardCount:', cardCount)
addJoker(0, 0)