I want to break a for-loop when a certain condition is met
Object.keys(s).map(uk => {
    Object.keys(s[uk]).map(ik => {
        for (let i = 1; i < data.length; i++) {
            if (...) {
                s[uk][ik].map(elem => {
                    if (...) {
                        if (...) {
                            data.push(...);
                            break;
                            ...
However, the break statement gives me a 
Unsyntactic break
Why is that? Its only supposed to break the for-loop, or does JavaScript think that I want to break the map?
 
     
     
     
     
    