Get All CSS styles of epcific DOM using JQuery

How to use ->  var styles = $("selector").getStyleObject();