2015-02-04 12:14:21 +00:00
|
|
|
// Copyright 2015 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.
|
|
|
|
//
|
2015-02-12 20:06:52 +00:00
|
|
|
// Flags: --harmony-classes --no-lazy
|
2015-02-04 12:14:21 +00:00
|
|
|
"use strict";
|
|
|
|
class Base {
|
|
|
|
}
|
|
|
|
class Subclass extends Base {
|
|
|
|
constructor() {
|
|
|
|
this.prp1 = 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function __f_1(){
|
|
|
|
}
|