aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/javascript/reference/global_objects/string/big/index.html
blob: e0dfbfbf7c4b95741fb63bd3a76b052c1f8f1cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
title: String.prototype.big()
slug: Web/JavaScript/Reference/Global_Objects/String/big
tags:
  - Deprecated
  - JavaScript
  - Method
  - Prototype
  - String
translation_of: Web/JavaScript/Reference/Global_Objects/String/big
original_slug: Web/JavaScript/Referencje/Obiekty/String/big
---
<div>{{JSRef}} {{deprecated_header}}</div>

<h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2>

<p>Powoduje, iż łańcuch znaków zostanie wyświetlony jakby znajdował się wewnątrz znacznika {{HTMLElement("big")}}.</p>

<h2 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h2>

<pre class="syntaxbox"><code><var>str</var>.big()</code></pre>

<h2 id="Opis" name="Opis">Opis</h2>

<p>The <code>big()</code> method embeds a string in a <code>&lt;big&gt;</code> tag: <code>"&lt;big&gt;str&lt;/big&gt;"</code>.</p>

<h2 id="Przyk.C5.82ady" name="Przyk.C5.82ady">Przykłady</h2>

<h3 id="Przyk.C5.82ad:_Zastosowanie_big" name="Przyk.C5.82ad:_Zastosowanie_big">Przykład: Zastosowanie <code>big()</code></h3>

<p>Następujący przykład stosuje metodę string do zmiany rozmiaru łańcucha znaków:</p>

<pre class="brush: js">var worldString = "Witaj, Świecie";

console.log(worldString.small())<code class="language-js"><span class="token punctuation">;</span>    <span class="token comment"> // </span></code>&lt;small&gt;Witaj, Świecie&lt;/small&gt;
console.log(worldString.big());       // &lt;big&gt;Witaj, Świecie&lt;/big&gt;
console.log(worldString.fontsize(7)); // &lt;fontsize=7&gt;Witaj, Świecie&lt;/fontsize&gt;</pre>

<h2 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h2>

<ul>
 <li>{{jsxref("String.prototype.fontsize()")}}</li>
 <li>{{jsxref("String.prototype.small()")}}</li>
</ul>