Sorry but I don’t know how did you got that conclusion, but it seems to work fine for me.
See this fiddle.
$('#div1').animate({height:'100px'},{queue:false,duration:100});
$('#div2').animate({ height: '100px' }, { queue: false, duration: 100 });
I remove all spaces from the first ones and it still get working.
6
solved Why do I need to put spaces inside arrays in JavaScript? [closed]