Title: SyntaxError: Defer
Last modified: February 1, 2020

---

# SyntaxError: Defer

 *  Resolved [joonask](https://wordpress.org/support/users/joonask/)
 * (@joonask)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-defer/)
 * Hi,
 * getting great results with plugin! But also getting this SyntaxError: Unexpected
   identifier ‘defer’. Expected ‘)’ to end an argument list.
 * Anyway to solve this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-defer/#post-12388525)
 * that’s likely part of one of the aggregated/ optimized JS-scripts, try identifying
   which one and excluding that from JS optimization.
 * hope this helps,
    frank
 *  Thread Starter [joonask](https://wordpress.org/support/users/joonask/)
 * (@joonask)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-defer/#post-12390026)
 * Thanks, worked! This one was the issue: wp-includes/js/dist/vendor/wp-polyfill.
   min.js
 * Joonas
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-defer/#post-12390037)
 * You’re welcome Joonas, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘SyntaxError: Defer’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [syntaxerror](https://wordpress.org/support/topic-tag/syntaxerror/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-defer/#post-12390037)
 * Status: resolved