Convert jquery string to object

Convert jquery string to object

I have var a = 1;

var b = $("#abc").val();
here i am getting b as "a" only, but i am not able to access the value.Please help me on this