title: Could I use variable in this.classList.remove
body: <p>I  try to use this code in my javascript program:</p>
  
  <pre><code>this.classList.remove(RF.DangerClass);
  </code></pre>
  
  <p>Where RF.DangerClass is global variable.
  But I get error - </p>
  
  <blockquote>
    <p>InvalidCharacterError: String contains an invalid character</p>
  </blockquote>
  
  <p>What's wrong? I can't use variable in this statement?</p>
  
  <p>RF.DangerClass contain this string: <strong>uk-form-danger uk-animation-shake</strong></p>
  
  <p>What should I do if need to remove two classes?</p>