this is the code:
let result
if (session.isLegacy) {
result = await session.onWhatsApp(jid)
} else {
;[result] = await session.onWhatsApp(jid)
}
He defined the result inside square brackets, and semicolon on the left side
I know the Destructuring, but why put the semicolon on the left side?