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

This commit is contained in:
Suryapratap Singh
2021-08-20 13:25:38 +05:30
parent 8ef1677f81
commit 0ea955b06c

View File

@ -10,7 +10,7 @@
const CheckPascalCase = (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]*$/