title: Why am I getting 'Syntax error on token ">", invalid FunctionExpressionHeader'
body: <p>Code is</p>
  
  <pre><code>$(document).ready(function(){
              navegadorNotificacionesActivas = navigator.indigitall.notificationsActive();
              if(navegadorNotificacionesActivas){
                  navigator.indigitall.getStatus(
                          (status) =&gt; {
                              if (status == "enabled") {
                                  document.getElementById("myCheck").cheked = true;
                                } else {
                                    document.getElementById("myCheck").cheked = false;                                  
                              }
                          }, ""/*errorCallback*/);
              } else {
                  document.getElementById("myCheck").cheked = false;
              }
  
          });
  </code></pre>
  
  <p>At line 5 I am getting the </p>
  
  <blockquote>
    <p>'Syntax error on token ">", invalid FunctionExpressionHeader'</p>
  </blockquote>
  
  <p>But I thought that this was a valid statement. I'm trying no to write the function in a separated statement, but asi I will use it only once, in the call to the succescallback method.</p>
  
  <pre><code>navigator.indigitall.getStatus(successCallBack, errorCallBack)
  </code></pre>