Flat 18% Off on Lenovo Yoga TabletsFlat 15% Off on Lenovo's most selling Yoga Tablets
Recently, Gmail restricted file attachments like .exe, .msc, and .bat. Same as other restricted file attachments, one will not be able to attach a .js file in future. An in-product warning will appear if one will do so which explains the reason why.
I think this is a really good step for security reasons. Now, hackers will not able to attach the .js file in emails. They use it as a downloader for a ransomware or other types of malware.