Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { StackObj } = require ('./stack-obj');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No est谩s usando StackObj en la soluci贸n. Este challenge est谩 en el contexto de la estructura de datos stack y como una aplicaci贸n.


function baseConverter(decNumber, base) {
// your code
return ;
if(base < 2 || base > 36) return null
return decNumber.toString(base).toUpperCase();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Genial! Siempre es bueno revisar la documentaci贸n para no reinventar la rueda. Pero en este caso, para fines del ejercicio tienes que usar el StackObj y reiniventar la rueda.

}

module.exports = { baseConverter };
module.exports = { baseConverter };