Pranav Pandey Pranav Pandey - 1 year ago 133
Node.js Question

Why is ToLowerCase() giving a type error in Express js / Node.js? gives an error in Expressjs. Do we need to require something to use it?

Answer Source

If the email from the body is a string you can use the method toLowerCase();. You have a capital letter at the beginning.