JavaScript:实现检查给定字符串是否在PascalCase中算法
// CheckPascalCase method checks the given string is in PascalCase or not.
/**
* CheckPascalCase method returns true if the string in PascalCase, else return the false.
* @param {String} VarName the name of the variable to check.
* @returns `Boolean` return true if the string is in PascalCase, else return false.
*/
const CheckPascalCase = (VarName) =>