"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findCommonElement = void 0;
function findCommonElement(array1, array2) {
    for (const a of array1) {
        for (const b of array2) {
            if (a === b)
                return a;
        }
    }
    return null;
}
exports.findCommonElement = findCommonElement;
//# sourceMappingURL=array.js.map