Closed psyduck113 closed 3 years ago
Enviroment(please complete the following information):
Describe the question A clear and concise description of what the bug is.
for(i=0;i<1000000;i++){ db.users.insert( { "i":i, "username":"user"+1, "age":Math.floor(Math,random()*120), "create d":new Date() } ); } uncaught exception: ReferenceError: random is not defined : @(shell):1:72
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
this is typo error
Math,random -> Math.random
Enviroment(please complete the following information):
Describe the question A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.