• franzih's avatar
    [test] Add tests for definitions in object literal. · 0188c3fb
    franzih authored
    Properties can be defined inside the object literal (ES6) or after
    object creation. The behavior differes if there are accessors, interceptors
    or proxies in the Object prototype chain.
    
    These test cases assure we preserve correct behavior as we
    improve performance of definitions in literals.
    
    BUG=v8:5624
    
    Review-Url: https://codereview.chromium.org/2501553002
    Cr-Commit-Position: refs/heads/master@{#41024}
    0188c3fb
object-literal.js 7.33 KB