Multiple ID for one onChange() function

My problem:
Hi, I’m making a form where I have a dependency throw two switchs buttons:
i need to run a part of my code if the state of one of these two switch is activated, i have tried different possibilities but it’s not working.

What I have tried:
$w(‘#switch1’’ #switch2 ‘).onChange(() =>
$w(’ #switch1 ‘,’ #switch2 ‘).onChange(() =>
$w(’#switch1’).onChange() || $w('# switch2 ').onChange(() =>

What I would like:
Combine two ID for one onChange function that activate the same handler.

Thank you for your support

$w('#switch1, #switch2').onChange(() => {
//code
})

Thank you for your answer, it’s working perfectly