mongoose SyntaxError: Invalid shorthand property initializer code example

Example: Uncaught SyntaxError: Invalid shorthand property initializer

//change
{asdf = sdfjksf}
// to
{asdf: sdfjksf}

Tags:

Misc Example