var iterateSomeEntries = (function () {
    "use strict";

    function iterateSomeEntries(dictionary, callback, self) {
        callback.bind(self);
        Object.keys(dictionary).some(function (key) {
            return callback(dictionary[key]);
        });
    }

    return iterateSomeEntries;
})();

var iterateSomeEntries = (function () {
    "use strict";

    function iterateSomeEntries(dictionary, callback, self) {
        Object.keys(dictionary).some(function (key) {
            return callback.call(self, dictionary[key]);
        });
    }

    return iterateSomeEntries;
})();

fix scope bug #core (cherry picked from commit b2eeae3)