summaryrefslogtreecommitdiff
path: root/jstests/jni7.js
blob: 2685dce08dc0d1f397c4a681a98a4f0b6fc327fa (plain)
1
2
3
4
5
6
7
t = db.jni7;
t.drop();

assert.eq( 17 , db.eval( function(){ return args[0]; } , 17 ) );

assert.eq( 17 , db.eval( function( foo ){ return foo; } , 17 ) );