swal-forms.js
function extendPreventingOverrides (a, b) {
          Object.keys(b).forEach(addContentFromBtoA)
          return a

          function addContentFromBtoA (key) {
            if (a.hasOwnProperty(key)) {
              mergeIntoAnArray(a, b, key)
            } else {
              a[key] = b[key]
            }
          }
        }
function extendPreventingOverrides (a, b) {
          Object.keys(b).forEach(addContentFromBtoA)
          return a

          function addContentFromBtoA (key) {
            if (a.hasOwnProperty(key)) {
              mergeIntoAnArray(a, b, key)
            } else {
              a[key] = b[key]
            }
          }
        }
function extendPreventingOverrides ( a , b ) { Object . keys ( b ) . forEach ( addContentFromBtoA ) return a function addContentFromBtoA ( key ) { if ( a . hasOwnProperty ( key ) ) { mergeIntoAnArray ( a , b , key ) } else { a [ key ] = b [ key ] } } }
for checkboxes we want to obtain all selected values in an array
for checkboxes we want to obtain all selected values in an array