diff --git a/javascript-practice/src/aTemplateLiterals/templateLiterals.js b/javascript-practice/src/aTemplateLiterals/templateLiterals.js index bdbb438efda63337b73470a4204f88d50fa6f565..8395b612f61fdff117d710273bd209efc89046d4 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})`; }