JavaScript:实现Exceeding words超词(差距是ascii码的距离) 算法
/**
* @function checkExceeding
* @description - Exceeding words are words where the gap between two adjacent characters is increasing. The gap is the distance in ascii
* @param {string} str
* @returns {boolean}
* @example - checkExceeding('delete') => true, ascii difference - [1, 7, 7, 15, 15] which is incremental
* @example - checkExceeding('update') => false, ascii difference - [5, 12, 3, 19, 15] which is not incremental
*/
const checkExceeding =