feat: Adicionar código dos desafios 1 e 2

This commit is contained in:
Gabriel Gomes Fernandes 2022-10-31 12:56:32 -03:00
parent c6f6df9c59
commit 424300248b
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
export function greet(name) { export function greet(name) {
// implementar logica aqui // implementar logica aqui
return "";
return `Hello ${name}` ;
} }

View File

@ -1,3 +1,4 @@
export function triangleArea(base, height) { export function triangleArea(base, height) {
// your code here // your code here
return base * height / 2 ;
} }