fallback param in function js does not recive undefined code example Example: variable defaults javascript es6 let variableToSet = checkedValue || defaultValue;