Hello i have the following array:
var data = [
    {
        title: "title 1",
        data2: [
            "content",
        ]
    },
    {
        title: "title 1",
        data2: [
            "content",
        ]
    }
];
how can i get title & data2 values in loop ?
Thanks so much.
edit:
The problem has beed solved with the help of a cat @Niklas Higi but,
how can i get values to my html template in .append function :
<div class="data">
    <div class="data-item">
        <h6>'+data.title+'</h6>
        <ul>
            <li>contents from data2 value</li>
        </ul>
    <div>
<div>
i need get data2 values to li tags.
 
     
    