#Challenge 22

1 messages · Page 1 of 1 (latest)

leaden bramble
compact vortex
#

Mi solución miduHYPEA

stoic rune
#

Mi solucion

edgy lion
#

Mi humilde solución

vagrant turret
#

Mi solucion

inland bronze
#

Mi solución

trim plinth
long shadow
#

||```js
function countDecorations( { value = 0, left, right } = {} ) {
const leftValue = left ? countDecorations( left ) : 0
const rightValue = right ? countDecorations( right ) : 0
return value + leftValue + rightValue
}

white spindle
white spindle
long shadow
white spindle
#

Si, pero el tema del los parámetros nombrados es muy buena idea, no se me había ocurrido

brazen falcon
dusk nacelle
#

Se que no es lo mejor, pero ahi va.

harsh widget
steady coral
#

Reto 22