Skip to content

const declaration throwing in iOS safari browser #67

@mitch-mitchel

Description

@mitch-mitchel

const here:

const result = o.beforeSend.call( o, xhr, o );

is throwing in iOS 9/safari with:
SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.

I will fix it in the mix, and do an insta PR to change this to var which fixes it locally for me.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions