const assert = require('assert');

const ABCheck = str => {
  const ab = /[a]...b/.test(str);

  return ab;
};

console.log(ABCheck('aj44ikb'));
const r1 = 'false';
assert(r1);

const assert = require('assert');

const ABCheck = (str) => {
  const ab = /[a]...b/.test(str);

  return ab;
};

console.log(ABCheck('aj44ikb'));
const r1 = 'false';
assert(r1);

add paranthesis-prettier fix