This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"title":"batman: the dark knight returns", | |
"rating": 9.0, | |
"where": "netflix", | |
"view": true, | |
"tags" : ["accion", "drama", "crimen"] | |
}, | |
{ | |
"title":"avengers: endgame", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const products = require('./products.js') | |
const main = () => { | |
const productoId = products.buscarPorId(320); //id de prueba | |
const listadoDeNombres = products.traerNombres(); | |
const listadoConStockMinimo = products.listadoStockMinimo(5); //valor de prueba para stock minimo | |
console.log(productoId) |