Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
818bd6cb4df290cb2d46e75c7286d4ae03b4ea2b
/
.
/
test
/
addons
/
hello-world-function-export
/
test.js
blob: 173cf5428e086f07289f7fe8b16e21210704c9b4 [
file
]
'use strict'
;
const
common
=
require
(
'../../common'
);
const
assert
=
require
(
'assert'
);
const
binding
=
require
(`./
build
/
$
{
common
.
buildType
}/
binding
`);
assert
.
strictEqual
(
binding
(),
'world'
);
console
.
log
(
'binding.hello() ='
,
binding
());