2017-06-06 10:28:14 +02:00
|
|
|
// Copyright 2017 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.
|
|
|
|
|
2022-01-29 08:33:07 +01:00
|
|
|
// Flags: --allow-natives-syntax
|
2017-06-06 10:28:14 +02:00
|
|
|
|
|
|
|
export async function getLife() {
|
|
|
|
try {
|
2019-08-16 11:32:46 +02:00
|
|
|
let namespace = await import('modules-skip-1.mjs');
|
2017-06-06 10:28:14 +02:00
|
|
|
return namespace.life();
|
|
|
|
} catch (e) {
|
|
|
|
%AbortJS('failure: ' + e);
|
|
|
|
}
|
|
|
|
}
|