From February 13, You Can’t Send These Attachments in Gmail
If you are Gmail user then here is a news for you.
You might be knowing already that in Gmail, you are not allowed to send certain formats, like .exe or .jar.
But from February 13, you won’t be able to send .js files as well.
Google writes in an official blog that from February 13, users won’t be able to send .js files.
The blog even writes about the inbound emails that ‘a bounce message will be sent to the sender, telling the reason of mail not being sent and blocked’.
However, if any user really needs to send the .js file, then he/she can use the Google Cloud Services to share the files.