re-formatted CheckCamelCalse by standard.js after updating error.

This commit is contained in:
Suryapratap Singh
2021-08-20 13:24:27 +05:30
parent cddfc342b7
commit 8ef1677f81

View File

@ -10,7 +10,7 @@
const CheckCamelCase = (varName) => {
// firstly, check that input is a string or not.
if (typeof varName !== 'string') {
return new TypeError("Argument is not a string.")
return new TypeError('Argument is not a string.')
}
const pat = /^[a-z][A-Za-z]*$/