카타 8급 Function 1 - hello world

1 C[ | ]

const char* greet() {
  return "hello world!";
}

2 Go[ | ]

package kata // do not remove

func greet() string {
  return "hello world!"
}

3 JavaScript[ | ]

function greet() {
  return "hello world!";
}
var greet = function() {
  return "hello world!";
}

4 PHP[ | ]

function greet() {
  return 'hello world!';
}

5 R[ | ]

greet <- function() {"hello world!"}
greet <- function() {
    return("hello world!")
}
greet = function() {
  'hello world!'
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}