2124-check-if-all-as-appears-before-all-bs

DevGod needs to write a blog entry for this problem!
/**
 * @param {string} s
 * @return {boolean}
 */
var checkString = function(s) {
    return !s.includes("ba");
};