function disableCharacter(character) {
        var charSelector = availableCharsSelector.querySelector(
            '[data-char="' + character + '"]');
        if (!charSelector.classList.contains('disabled')) {
          charSelector.className += ' disabled';
        }
      }
/**
       * Disables characters from begin selected.
       * @param {string|number} character Character to be disabled.
       */
Disables characters from begin selected.
@param {string|number} character Character to be disabled.
Disables characters from begin selected . @param { string|number } character Character to be disabled .
function disableCharacter(character) {
        var charSelector = availableCharsSelector.querySelector(
            '[data-char="' + character + '"]');
        if (!charSelector.classList.contains('disabled')) {
          charSelector.className += ' disabled';
        }
      }
function disableCharacter ( character ) { var charSelector = availableCharsSelector . querySelector ( '[data-char="' + character + '"]' ) ; if ( ! charSelector . classList . contains ( 'disabled' ) ) { charSelector . className += ' disabled' ; } }
Disables characters from begin selected.
Disables characters from begin selected .