Is ” base64 encoded?

Is ” base64 encoded? This question has this answer which suggests no: if (str ===” … Read more Is ” base64 encoded?

Is ” base64 encoded?

This question has this answer which suggests no:

if (str ==='' || str.trim() ===''){ return false; }

But some of the other approaches that use regular expressions return true … For example:

https://stackblitz.com/edit/js-xjubhf

Thoughts?

Source: JavaSript – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *