937b8cb684
Also fixed handling of load non-existent handlers outside typeof. BUG=v8:5561, chromium:662854 Review-Url: https://codereview.chromium.org/2511603002 Cr-Commit-Position: refs/heads/master@{#41073}
11 lines
232 B
JavaScript
11 lines
232 B
JavaScript
// Copyright 2016 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.
|
|
|
|
function f() {
|
|
typeof boom;
|
|
boom;
|
|
}
|
|
|
|
assertThrows(()=>f());
|