JS Syntax Error - Need Help

Hi There !
Can’t find where am I doing wrong…
Any help?
Bubble becomes orange in Plugin editor… Syntax error
Can’t find it…

 if (!idArray.length || !typeArray.length) {
                throw new Error('IDs e tipos são obrigatórios');
            }

            if (idArray.length !== typeArray.length) {
                throw new Error(`Quantidade de IDs (${idArray.length}) difere da quantidade de tipos (${typeArray.length})`);
            }

            const clausulas = [];
            const elements = idArray.map((id, index) => createNode(id, typeArray[index]));
            
            elements.forEach((node) => {

Hi, Anyone?

This topic was automatically closed after 70 days. New replies are no longer allowed.