Trying to figure out the discrepancy between the two methods of Schema creation in mongoose. Despite searching through the documentation and using Google, I haven't been able to find any substantial results. As a beginner in mongoose, I'm curious to know if there's any noteworthy difference between the two.
First Method:
var personSchema = new mongoose.Schema({....});
Second Method:
var personSchema = mongoose.Schema({....});