<div class="box"></div>
// First script
$('.box').width(100);
// Second script
$('.box').addClass('color');
// Third script
$('.box').fadeOut();
result:
<div class="color" style="width: 100px; display: none;"></div>
It might has change to do something to one DOM by different js file, if the script code was separated to many js file, it's really hard to find out the div was affected by who, is there any tool could check the execution history on DOM?