(a + '' + b === '24') nebo (a + '' + b == 24)Případně pokud by šlo o čísla menší než 10, tak:(10 * a + b === 24)