Title: Console error &#8211; SyntaxError: missing ) after argument list
Last modified: August 9, 2021

---

# Console error – SyntaxError: missing ) after argument list

 *  [Norm Sash](https://wordpress.org/support/users/normsash/)
 * (@normsash)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/console-error-syntaxerror-missing-after-argument-list/)
 * Sometimes I’m seeing the console error SyntaxError: missing ) after argument 
   list. Looking at it, it seems like it might be something in the Kint code, but
   I’m not familiar enough with it to know for sure. It does seem to happen with
   Litespeed cache enabled, though I don’t know if that’s just a coincidence. It
   seems to revolve around the below code. Could be Kint exposing something in Litespeed,
   or Litespeed exposing something in Kint…
 * `b.document.write("<html><head><title>Kint ("+(new Date).toISOString()+')</title
   ><meta charset="utf-8">'+document.getElementsByClassName("-kint-js")[0].outerHTML
   +document.getElementsByClassName("-kint-css")[0].outerHTML+'</head><body><input
   style="width: 100%" placeholder="Take some notes!"><div class="kint">'+a.parentNode.
   outerHTML+"</div><script src="https://wellnessstockshop.com/prod/wp-content/plugins/
   litespeed-cache/assets/js/lazyload.min.js"></script></body>"),b.document.close()},
   x=function(a,b){function c(a){var c=1===b?a.replace(/^#/,""):a;if(isNaN(c))return
   a.trim().toLocaleLowerCase();c=parseFloat(c);return isNaN(c)?`

The topic ‘Console error – SyntaxError: missing ) after argument list’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/kint-debugger_badbec.svg)
 * [Kint Debugger](https://wordpress.org/plugins/kint-debugger/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kint-debugger/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kint-debugger/)
 * [Active Topics](https://wordpress.org/support/plugin/kint-debugger/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kint-debugger/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kint-debugger/reviews/)

 * 0 replies
 * 0 participants
 * Last reply from: [Norm Sash](https://wordpress.org/support/users/normsash/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/console-error-syntaxerror-missing-after-argument-list/)
 * Status: not resolved