2015-05-20 07:38:19 +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-08-06 23:52:47 +00:00
|
|
|
(function (global, binding) {
|
2015-05-20 07:38:19 +00:00
|
|
|
'use strict';
|
2015-08-06 23:52:47 +00:00
|
|
|
binding.testExtraShouldReturnFive = function () {
|
2015-05-20 07:38:19 +00:00
|
|
|
return 5;
|
|
|
|
};
|
2015-06-11 12:19:40 +00:00
|
|
|
|
2015-08-06 23:52:47 +00:00
|
|
|
binding.testExtraShouldCallToRuntime = function() {
|
|
|
|
return binding.runtime(3);
|
2015-06-11 12:19:40 +00:00
|
|
|
};
|
2015-05-20 07:38:19 +00:00
|
|
|
})
|