Skip to content

Commit 3df0cc4

Browse files
committed
Update example
1 parent d47e89e commit 3df0cc4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/index.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@
2020

2121
var stdlib = require( './../lib' );
2222

23-
console.log( stdlib );
23+
// List sub-namespaces:
24+
var keys = stdlib.utils.objectKeys( stdlib );
25+
console.log( keys );
26+
27+
// Compute the value of sine:
28+
var y = stdlib.math.base.special.sin( 3.14 );
29+
console.log( y );

0 commit comments

Comments
 (0)