// SPDX-FileCopyrightText: 2014 Samsung Electronics Co., Ltd.
// SPDX-License-Identifier: Apache-2.0

var a = {
  foo: function () {
    return 1
  }
}
desc = Object.getOwnPropertyDescriptor(a, "foo");

assert(desc instanceof Object);