'use strict';
(true, false, 1);
Do the parentheses create a single expression out of multiple constituent expressions?
I haven't seen this syntax before.
Edit: the original code that piqued interest:
function AddWatermark(controlName, defaultValue, cssValue) {
document.getElementById(controlName).value == ""
&&
(document.getElementById(controlName).value = defaultValue, document.getElementById(controlName).className = cssValue); //I am interested in this syntax on the RHS of the logical AND operator
}