(str, quotes)
| 768 | } |
| 769 | |
| 770 | function addQuotes(str, quotes) { |
| 771 | if (quotes === -1) { |
| 772 | return `"${str}"`; |
| 773 | } |
| 774 | if (quotes === -2) { |
| 775 | return `\`${str}\``; |
| 776 | } |
| 777 | return `'${str}'`; |
| 778 | } |
| 779 | |
| 780 | function escapeFn(str) { |
| 781 | const charCode = StringPrototypeCharCodeAt(str); |
no outgoing calls
no test coverage detected
searching dependent graphs…