Edit in JSFiddle
JavaScript
Result
b(); function b() { alert('bbb') } a(); var a = function () { alert('aaa') }