Skip to content

Commit

Permalink
re-formatted CheckCamelCalse by standard.js after updating error.
Browse files Browse the repository at this point in the history
  • Loading branch information
suryapratapsinghsuryavanshi committed Aug 20, 2021
1 parent cddfc34 commit 8ef1677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion String/CheckCamelCase.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]*$/
Expand Down

0 comments on commit 8ef1677

Please sign in to comment.