Jacob D
02/03/2025, 9:45 PMCeligo AI
02/03/2025, 9:45 PMAI generated answer (using internal Slack threads):Yes, SuiteScript can use JavaScript template literals, but only from SuiteScript 2.1 onwards. Template literals are a feature of ECMAScript 2015 (ES6) and later, which allows for easier string interpolation and multi-line strings. SuiteScript 2.0 does not support this feature as it is based on an earlier version of JavaScript. In SuiteScript 2.0, you can use escape sequences and long literal strings as an alternative to template literals. Another workaround mentioned in the conversations is to use TypeScript, which allows for the use of string template literals even in SuiteScript 2.0. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
02/03/2025, 9:45 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.872521341
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.853433847
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843739092
Celigo AI
02/03/2025, 9:45 PM