Skip to content

Commit

Permalink
1.1_algoritmia - 1-combine-names
Browse files Browse the repository at this point in the history
  • Loading branch information
evahuertas committed May 27, 2024
1 parent e0e36c8 commit 68d2a09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion algoritmia/1-combine-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
*/

function combineNames(name1, name2) {

let fullName = name1 + " " + name2;
return fullName
}

console.log(combineNames('James', 'Stevens')); // "James Stevens"
Expand Down

0 comments on commit 68d2a09

Please sign in to comment.