How to remove class after delay in jQuery

If you want to perform some animation in jquery like want to remove class after n number of seconds then jquery is right tool for making this happen just copy and paste below code snippet and set time interval.

Remove class after delay in jQuery

$(function() {  
var ln = $('#ln');
setTimeout(function() {
}, 5000);

In the above code adding className on page load and removing after delay of 5sec.