v8/test/cctest/test-extra.js
domenic 2dff84e66f Rename "extras exports" to "extras binding"
R=yangguo@chromium.org, jochen@chromium.org
BUG=507133
LOG=Y

Review URL: https://codereview.chromium.org/1275683002

Cr-Commit-Position: refs/heads/master@{#30053}
2015-08-06 23:52:54 +00:00

15 lines
379 B
JavaScript

// 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.
(function (global, binding) {
'use strict';
binding.testExtraShouldReturnFive = function () {
return 5;
};
binding.testExtraShouldCallToRuntime = function() {
return binding.runtime(3);
};
})