# The MongoDB\BSON\JavascriptInterface interface

&reftitle.intro;

This interface is implemented by `MongoDB\BSON\Javascript` to be used as a parameter, return, or property type in userland classes.

&reftitle.classsynopsis;

        MongoDB\BSON\JavascriptInterface

          MongoDB\BSON\JavascriptInterface

        &Methods;

&reftitle.changelog;

&Version; | &Description;
&mongodb.changelog.tentative-return-types;

&reference.mongodb.bson.entities.javascriptinterface;