From 9c24cb8b1c0bbf7d8040949645cf07a8eb6fe0be Mon Sep 17 00:00:00 2001 From: ttran67 <ttran67@huskers.unl.edu> Date: Mon, 26 Aug 2024 22:21:56 -0500 Subject: [PATCH] Fixed a --- .../src/aTemplateLiterals/templateLiterals.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/javascript-practice/src/aTemplateLiterals/templateLiterals.js b/javascript-practice/src/aTemplateLiterals/templateLiterals.js index bdbb438..8395b61 100644 --- a/javascript-practice/src/aTemplateLiterals/templateLiterals.js +++ b/javascript-practice/src/aTemplateLiterals/templateLiterals.js @@ -2,9 +2,5 @@ export function formatAsTriple(x, y, z) { // INSTRUCTIONS: Given three coordinates, return a template literal that // formats them as a three-coordinate triple. For example, formatAsTriple(4, // 5, 6) should return the string '(4, 5, 6)'. - // - // Resources: - // <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals> - // <https://javascript.info/types#string> - // <https://javascript.info/string#quotes> + return `(${x}, ${y}, ${z})`; } -- GitLab