test262/test/built-ins/AsyncFunction/AsyncFunction-is-extensible.js

14 lines
365 B
JavaScript

// Copyright 2016 Microsoft, Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Brian Terlson <brian.terlson@microsoft.com>
esid: pending
description: >
%AsyncFunction% is extensible
---*/
var AsyncFunction = async function() {}.constructor;
AsyncFunction.x = 1;
assert.sameValue(AsyncFunction.x, 1);