decodeJavaScriptScope
Deprecated
This functionality is deprecated in the BSON specification. See https://bsonspec.org/spec.html
Decodes this value as a document describing variables some JavaScript code has access to.
The accompanying JavaScript code is accessed with decodeJavaScript.
Throws
If the value is not a BsonType.JavaScriptWithScope.