본문 바로가기
알고리즘/Codewars

[Codewars] Grasshopper - Function syntax debugging (8 kyu) / JavaScript

by fluss 2023. 4. 7.

https://www.codewars.com/kata/56dae9dc54c0acd29d00109a

 

Codewars - Achieve mastery through coding practice and developer mentorship

A coding practice website for all programming levels – Join a community of over 3 million developers and improve your coding skills in over 55 programming languages!

www.codewars.com

 

DESCRIPTION:

Grasshopper - Function syntax debugging

A student was working on a function and made some syntax mistakes while coding. Help them find their mistakes and fix them.

 

코드

function main (verb, noun){
  return verb + noun;
}

댓글