Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Sep 5, 2016
1 parent 78e8aa7 commit 89b5c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ pp.parseFunctionBody = function(node, isArrowFunction) {
let useStrict = (!isExpression && node.body.body.length && this.isUseStrict(node.body.body[0])) ? node.body.body[0] : null
if (useStrict && this.options.ecmaVersion >= 7 && !this.isSimpleParamList(node.params))
this.raiseRecoverable(useStrict.start, "Illegal 'use strict' directive in function with non-simple parameter list")

if (this.strict || useStrict) {
let oldStrict = this.strict
this.strict = true
Expand Down

0 comments on commit 89b5c6d

Please sign in to comment.