Does Whonix prevent Javascript from deanonymiying?

I see… but using curl is not bad idea in whonix right?