title: Session::forget() return an error Unexpected token
body: <p>In my Laravel project, I am using <code>Session::forget("job-success")</code> to destroy particular session. However, it returns error stating "Unexpected token".</p>
  
  <p>Code:</p>
  
  <pre><code>@if (Session::get('alert-danger') || Session::get('alert-success'))
  &lt;script&gt;
      @if(Session::get('job-success'))
          show_notification("success","{{ Session::get('alert-success') }}");
          //Session::forget('job-success');
      @endif 
  &lt;/script&gt;
  @endif
  </code></pre>