how to use default value in a method code example Example: variable defaults javascript es6 let variableToSet = checkedValue || defaultValue;