how to check if I've been infected with malware

I was using Tor and going on some strange sites, and I was wondering if my whonix could be infected by malware just by going on sites where I had JavaScript turned on.
I was also wondering if I could do some sort of scan like how you can on Windows with an antivirus.

Detecting Malware Infections



https://www.reddit.com/r/Whonix/comments/1e9x9qj/how_to_check_if_ive_been_infected_with_malware/