simple and easy Javascript solution 😍❤️‍🔥
\n\n\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n###### Let\'s Connect on LinkedIn: www.linkedin.com/in/shishirrsiam\n###### Let\'s Connect on Face
\n\n\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n###### Let\'s Connect on LinkedIn: www.linkedin.com/in/shishirrsiam\n###### Let\'s Connect on Facebook: www.fb.com/shishirrsiam\n\n\n# Complexity\n- Time complexity: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(n)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```javascript []\nvar removeOuterParentheses = function(s) \n{\n    let ans = \'\'\n    let cnt = 0\n    for (ch of s)\n    {\n        if(ch === \'(\')\n        {\n            if(cnt) ans += ch;\n            cnt++;\n        }\n        else \n        {\n            cnt--;\n            if(cnt) ans += ch;\n        }\n    }\n    return ans\n};\n```
['String', 'Stack', 'JavaScript']