common JavaScript¶ JavaScript A string of JavaScript code. See also¶ BsonValue.decodeJavaScript: Read this type. BsonFieldWriter.writeJavaScript: Write this type. Properties¶ code¶ val code: Byte The byte identifier for this particular type. Guaranteed to be in the range -1 (MinKey) to 127 (MaxKey). name¶ expect val name: String ordinal¶ expect val ordinal: Int