yourArray.forEach( function (arrayItem)
{
var x = arrayItem.prop1 + 2;
alert(x);
});
$(function() {
$('.owl-carousel').owlCarousel({
margin: 50,
responsiveClass: true,
items: 2,
nav: true,
navText: ["<img src='img/prev.png'>", "<img src='img/next.png'>"],
responsive: {
0: {
items: 1,
margin: 150,
center: true,
autoWidth: true,
nav: false,
navText: []
},
992: {
items: 2
}
}
});