Para la creación de maras se recomienda utilizar la siguiente nomenclatura.
[rama origen]/[type]/[autro]-[idTicket]/[Titulo-de-la-rama]
console.time("Fibonaci recuursivo"); | |
const fibonacci = (value) => { | |
let result = value; | |
if (value > 1) { | |
result = fibonacci(value - 1) + fibonacci(value - 2); | |
} | |
return result; | |
}; | |
fibonacci(1000); |
const fetch = require("node-fetch"); | |
/** | |
* Se realiza la peticion a la api solicitada | |
* | |
* @param {string} url Ruta correspondiente a la API. | |
* @return {object} | |
*/ | |
const requestData = async (url) => { | |
const REQUEST = await fetch(url); |
class Pokemon { | |
#name = ""; | |
#type = "" | |
constructor(name, type) { | |
this.#name = name; | |
this.#type = type; | |
} | |
get name() { |
class Pokemon { | |
#name = ""; | |
#type = "" | |
constructor(name, type) { | |
this.#name = name; | |
this.#type = type; | |
} | |
get name() { |
class Pokemon { | |
#name = ""; | |
#type = ""; | |
constructor(name, type) { | |
this.#name = name; | |
this.#type = type; | |
} | |
/** |
class Pokemon { | |
#name = ""; | |
#type = "" | |
constructor(name, type) { | |
this.#name = name; | |
this.#type = type; | |
} | |
get name() { |
class Pokemon { | |
#name = ""; | |
#type = "" | |
constructor(name, type) { | |
this.#name = name; | |
this.#type = type; | |
} | |
get name() { |
class Pokemon { | |
#name = ""; | |
#type = "" | |
#evolutions = []; | |
constructor(name, type, evolutions) { | |
this.#name = name; | |
this.#type = type; | |
this.#evolutions = evolutions; | |
} |
class Pokemon { | |
#name = ""; | |
#type = "" | |
#evolutions = []; | |
constructor(name, type, evolutions) { | |
this.#name = name; | |
this.#type = type; | |
this.#evolutions = evolutions; | |
} |