Execute commands in mongo
SyntaxError: missing } after property list src/mongo/shell/db.js:1038
The problem caused by this error is the addition of a new mongo function.
xxxxAfter that, the next call to this function will be prompted:
ReferenceError: xxxx is not defined (shell):1
However, the mongodb function previously added is not affected.
Look at the error message, there should be a syntax error in the script.
Check it out
xxxAnd where is the code near it missing