listar objetos javascript
libros = ["Brideshead", "Faustus", "Musica"]
function libro(titulo, autor, ISBN) {
this.titulo = titulo;
this.autor = autor;
this.ISBN = ISBN;
//this.isbn calculo
}
var Brideshead = new libro("Retorno a Brideshead", "Evelyn Waugh", 8447308472);
var Faustus = new libro("Doctor Faustus", "Thomas Mann", 9788435018449);
var Musica = new libro("Una música constante", "Vikram Seth", 9780767904643)
console.log(Object.values(Brideshead))
Also in JavaScript:
- find base url in javascript
- js change contenteditable value
- reactjs cloudflare
- on enter key press react
- SyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli
- lastindexof javascript
- get selected option value jquery
- increase node heap size
- how to find out which version of React
- sort array of objects javascript by value
- javascript json stringify indented
- drupal 8 get url from node entity
- javascript get text from paragraph
- email validation in javascript
- nextjs starter template with auth
- how to count click events javascript
- Aspect Ratio height react
- jquery child element
- how to convert string to int a array in javascript
- javascript modal show
- ternary operator react
- get current url react router
- ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js): Error: ENOENT: no such file or directory, scandir
- Given a string S and a character C, return an array of integers representing the shortest distance from the character C in the string. javascript