Javascript – How to concatenate two strings and omit possible duplicate sentence?
I'm working on a speech to text module and, often enough, we have the following scenario: var str1 = "It was great, I finally had some time to" var str2 = "had some time to relax and catch up on…