Can i access cookie using javascript ?

if yes then how ?