A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Errors/More_arguments_needed below:

TypeError: More arguments needed - JavaScript

TypeError: More arguments needed Mensage
TypeError: argument is not an Object and is not null (Edge)
TypeError: Object.create necesita al menos 1 argumento, pero solo only 0 fueron aprovadas.
TypeError: Object.setPrototypeOf necesita al menos 2 argumentos, pero solo 0 fueron aprovados
TypeError: Object.defineProperties requires at least 1 argument, but only 0 were passed
Tipo de error

TypeError.

¿Qué fué mal?

Hay un error con que una funcion es llamada. Más argumentos necesitan ser dados.

Ejemplos

El método Object.create() necesita al menos un argumento y el método Object.setPrototypeOf() necesita al menos 2 argumentos.

var obj = Object.create();
// TypeError: Object.create necesita al menos 1 argumento, pero ninguno fue aprovad

var obj = Object.setPrototypeOf({});
// TypeError: Object.setPrototypeOf requires at least 2 arguments, but only 1 were passed

Puedes arreglar esto configurando null como el prototipo, por ejemplo:

var obj = Object.create(null);

var obj = Object.setPrototypeOf({}, null);
Ver también

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4