I have a function, that check computed style property values of two DOM elements and it should return true or false if every property are equivalent. 
checkUserBlock: function (userBlockSelector, properties) {
        var checker = this.setCheckingStyle(userBlockSelector, properties);
        var userBlockCompStyle = getComputedStyle(this.getUserBlock(userBlockSelector));
        var checkBlockCompStyle = getComputedStyle(checker);
        var checkingStyle = this.parseCheckingStyle(properties);
        for(var key in checkingStyle){
            return (userBlockCompStyle.getPropertyValue([key].toString()) == checkBlockCompStyle.getPropertyValue([key].toString()));
        }
    }
I have problem with returning result for all properties and I think about every() function, but its only for array. How i can use it for object, or you can offer a different solution without jQuery?