feat: Adicionar código dos desafios 1 e 2
This commit is contained in:
parent
c6f6df9c59
commit
424300248b
@ -1,4 +1,5 @@
|
|||||||
export function greet(name) {
|
export function greet(name) {
|
||||||
// implementar logica aqui
|
// implementar logica aqui
|
||||||
return "";
|
|
||||||
|
return `Hello ${name}` ;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
export function triangleArea(base, height) {
|
export function triangleArea(base, height) {
|
||||||
// your code here
|
// your code here
|
||||||
|
return base * height / 2 ;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user