refactor(scope): simplify the code of _mapEqual()