|
9 | 9 | ol ul li { font-size: 1em !important; }
|
10 | 10 | ol ul { margin-left: 1.5em !important; }
|
11 | 11 | </style>
|
12 |
| -<p>JavaScript provides several built-in datatypes. In addition to those, this page documents virtual types like Selectors, enhanced pseudo-types like Events and some concepts you need to know about Functions. If you want to study these concepts in depth, take a look at <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">MDN</a>. |
| 12 | +<p>This page documents data types appearing in jQuery function signatures, whether defined by JavaScript itself or further restricted by jQuery. Unless explicitly stated otherwise, jQuery functions require primitive values where applicable, and do not accept their Object-wrapped forms. If you want to study these concepts in depth, take a look at <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">MDN</a>. |
13 | 13 | </p>
|
14 | 14 | <p>You should be able to try out most of the examples below by just copying them to your browser's JavaScript Console (Chrome, Safari with Develop menu activated, IE 8+) or <a href="http://www.getfirebug.com/">Firebug</a> console (<a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a>).
|
15 | 15 | </p>
|
@@ -104,7 +104,7 @@ <h2 id="Anything"> Anything </h2>
|
104 | 104 | </p>
|
105 | 105 |
|
106 | 106 | <h2 id="String"> String </h2>
|
107 |
| -<p>A string in JavaScript is an immutable object that contains none, one or many characters. |
| 107 | +<p>A string in JavaScript is an immutable primitive value that contains none, one or many characters. |
108 | 108 | </p>
|
109 | 109 | <pre><code data-lang="javascript">"I'm a String in JavaScript!"
|
110 | 110 | 'So am I!'
|
@@ -165,7 +165,7 @@ <h2 id="htmlString"> htmlString </h2>
|
165 | 165 | $( "<b>hello</b>wait<b>bye</b>" ).appendTo( "body" );
|
166 | 166 | </code></pre>
|
167 | 167 | <h2 id="Number"> Number </h2>
|
168 |
| -<p>Numbers in JavaScript are double-precision 64-bit format IEEE 754 values. They are immutable, just as <a href="#String" title="">strings</a>. All operators common in c-based languages are available to work with numbers (+, -, *, /, %, =, +=, -=, *=, /=, ++, --). |
| 168 | +<p>Numbers in JavaScript are double-precision 64-bit format IEEE 754 values. They are immutable primitive values, just like <a href="#String" title="">strings</a>. All operators common in c-based languages are available to work with numbers (+, -, *, /, %, =, +=, -=, *=, /=, ++, --). |
169 | 169 | </p>
|
170 | 170 | <pre><code data-lang="javascript">12
|
171 | 171 | 3.543
|
|
0 commit comments