blob: ace0fee5a47c619eb377d9cf63dc866ba1585793 [file] [log] [blame]
// Copyright (C) 2018 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-async-arrow-function-definitions
description: >
It is a SyntaxError if FormalParameters' default expressions contains await.
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
async(a = await => {}) => {};