EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
Ce sujet n'a pas encore été évalué - Évaluez ce sujet

dir method

Prints the properties of an object to the console.

Internet Explorer 10

Syntax

var retVal = console.dir(value, optionalParams);

Parameters

value [optional]

Type: any

Object or element.

optionalParams

Type: any

Object or element.

retVal [out, retval]

Type: boolean

Remarks

If more than one object or element is provided as parameters, only the last one will have the properties displayed.

See also

console
Using the F12 Tools Console to View Errors and Status

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Ajouts de la communauté

AJOUTER
© 2013 Microsoft. Tous droits réservés.