Skip to content
Snippets Groups Projects
prop-desc.js 517 B
Newer Older
  • Learn to ignore specific revisions
  • Brian Terlson's avatar
    Brian Terlson committed
    // Copyright (c) 2012 Ecma International.  All rights reserved.
    
    // This code is governed by the BSD license found in the LICENSE file.
    
    Brian Terlson's avatar
    Brian Terlson committed
    
    /*---
    
    Brian Terlson's avatar
    Brian Terlson committed
    description: >
        Object.getOwnPropertyDescriptor returns data desc for functions on
        built-ins (Global.unescape)
    
    includes: [propertyHelper.js]
    
    assert.sameValue(typeof this.unescape, "function");
    assert.sameValue(typeof this["unescape"], "function");
    
    verifyProperty(this, "unescape", {
      writable: true,
      enumerable: false,
      configurable: true
    });