Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 609 Bytes

template_strings.md

File metadata and controls

19 lines (17 loc) · 609 Bytes

Description

Template Strings

Template Strings, this kata is mainly aimed at the new JS ES6 Update introducing Template Strings

Task

Your task is to return the correct string using the Template String Feature.

Input

Two Strings, no validation is needed.

Output

You must output a string containing the two strings with the word 'are' Reference: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/template_strings

My Solution

def TempleStrings(obj, feature)
  "#{obj} are #{feature}"
end