in my case I want to add the 'div1' class to the 'div2' class but I don't really know how to do it. I tested a code but after the else part, the code doesn't execute (just the append method not other function like alert()...), is there any syntax error for the Magento logic
this is error in console :
require.js:166 Uncaught Error: Mismatched anonymous define() module: function($){
"use strict";
return function myfunctionCheck()
{
//code
}
else {
//code
}
}
}