javascript list multiple variables in one statement code example
Example 1: declare multiple variables javascript
let posNo=0,negNo=0,zeroNo=0;
var posNo,negNo=false,zeroNo='zero';
const posNo=0,negNo,zeroNo;
Example 2: javascript select multiple values
const selected = document.querySelectorAll('#select-meal-type option:checked');
const values = Array.from(selected).map(el => el.value);