firstFunction();

secondFunction();


위 두개 함수가 순차적으로 실행되게 하려는데 어떻게해야됨??


firstFunction(function() {

secondFunction();

});


이게 왜 안되는지도 설명좀해줘..