diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:14 +0200 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
| commit | c05efa8d7ae464235cf83d7c0956e42dc6974103 (patch) | |
| tree | 6ea911b2f2010f63a026de6bb7a1a51e7690a7e1 /files/fr/web/api/window/console/index.html | |
| parent | 13a5e017558b248ee1647d4a5825f183b51f09ad (diff) | |
| download | translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.gz translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.bz2 translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.zip | |
move *.html to *.md
Diffstat (limited to 'files/fr/web/api/window/console/index.html')
| -rw-r--r-- | files/fr/web/api/window/console/index.html | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/files/fr/web/api/window/console/index.html b/files/fr/web/api/window/console/index.html deleted file mode 100644 index cbb2e643a9..0000000000 --- a/files/fr/web/api/window/console/index.html +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: Window.console -slug: Web/API/Window/console -tags: - - API - - Propriété - - Reference - - Window - - console - - lecture seule -translation_of: Web/API/Window/console ---- -<p>{{ APIRef }}</p> - -<p>La propriété <strong><code>Window.console</code></strong> en lecture seule retourne une référence à l'objet {{domxref("Console")}}, qui founit des méthodes pour afficher des information sur la console du navigateur. Ces méthodes ont pour seul but le débogage et ne devraient pas servir à présenter des informations au utilisateurs.</p> - -<h2 id="Syntax">Syntaxe</h2> - -<pre class="syntaxbox"><em>var consoleObj</em> = <em>window</em>.console; -</pre> - -<h2 id="Example">Exemples</h2> - -<h3 id="Afficher_dans_la_console">Afficher dans la console</h3> - -<p>Le premier exemple affiche du texte dans la console.</p> - -<pre class="brush: js">console.log("An error occurred while loading the content"); -</pre> - -<p>L'exemple suivant affiche un objet dans la console, et les champs de l'objet y sont écrit:</p> - -<pre class="brush: js">console.dir(someObject);</pre> - -<p>Voir {{SectionOnPage("/en-US/docs/Web/API/Console", "Usage")}} pour plus d'exemples appronfondit.</p> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">Status</th> - <th scope="col">Commentaire</th> - </tr> - <tr> - <td>{{SpecName('Console API')}}</td> - <td>{{Spec2('Console API')}}</td> - <td>Définition Initiale.</td> - </tr> - </tbody> -</table> - -<div class="note"> -<p><strong>Note :</strong> Actuellement il y a beaucoup de différences d'implémentation entre les navigateurs, mais ils sont en train d'être standardisés pour les rendre plus consistants entre eux.</p> -</div> |
