/* eslint-disable no-unused-vars */
var utils = {
    strWrap: function (str) {
        if (str.includes('\n') || (str.includes('"') && str.includes("'"))) return '`';
        return str.includes('"') ? "'" : '"';
    },

    escapeRegExp: function (str, q) {
        return str.replace(new RegExp('[\\n*+?^${}()|[\\]\\\\' + q + ']', 'g'), '\\$&');
    },

    strMerge: function (str) {
        return str.replace(/'\s*\+\s*'|"\s*\+\s*"/g, '');
    },

    methodChain: function (str) {
        return str.replace(/(\[("|')((?!\d)[a-z_\d$]*)("|')\])/gi, '.$3 ');
    }
};

@@ -172,24 +172,25 @@
      return 
+!
 str.includes
@@ -190,19 +190,19 @@
 ncludes(
-'
 %22'
+%22
 ) ? %22'%22 

Update strWrap