mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
4 lines
138 B
JavaScript
4 lines
138 B
JavaScript
|
|
assert.eq( 17 , db.eval( function(){ return 11 + 6; } ) , "A" );
|
|
assert.eq( 17 , db.eval( function( x ){ return 10 + x; } , 7 ) , "B" );
|