e602c90abc
Bug: chromium:848165 Change-Id: I1ec18bf12f53c24f388dbd529fe62e990fbc8783 Reviewed-on: https://chromium-review.googlesource.com/1104175 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#53793}
10 lines
307 B
JavaScript
10 lines
307 B
JavaScript
// Copyright 2018 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
class cls0 {
|
|
static get length(){ return 42; };
|
|
static get [1](){ return 21; };
|
|
};
|
|
Object.defineProperty(cls0, "length", {value:'1'});
|