| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 | 
							- <!DOCTYPE html>
 
- <html lang="en">
 
- <head>
 
-     <meta charset="utf-8">
 
-     <title>JSDoc: Class: Symbol</title>
 
-     <script src="scripts/prettify/prettify.js"> </script>
 
-     <script src="scripts/prettify/lang-css.js"> </script>
 
-     <!--[if lt IE 9]>
 
-       <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
 
-     <![endif]-->
 
-     <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
 
-     <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
 
- </head>
 
- <body>
 
- <div id="main">
 
-     <h1 class="page-title">Class: Symbol</h1>
 
-     
 
- <section>
 
- <header>
 
-     
 
-         <h2><span class="attribs"><span class="type-signature"></span></span>
 
-             <span class="ancestors"><a href="module-barejs_polyfill.html">barejs/polyfill</a>.</span>Symbol<span class="signature">(_description<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
 
-         
 
-     
 
- </header>
 
- <article>
 
-     <div class="container-overview">
 
-     
 
-         
 
-     
 
-     
 
-     <h4 class="name" id="Symbol"><span class="type-signature"></span>new Symbol<span class="signature">(_description<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
 
-     
 
-     
 
- <div class="description">
 
-     <p>Create a "<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol">Symbol</a>" which is
 
- actually just a string (so it works "like" a Symbol in older environments).
 
- Symbol is never used with new, it is meant to be invoked as a creator function:</p>
 
- <pre class="prettyprint source"><code> var key = Symbol( "description" );
 
-  var obj = {};
 
-  obj[key] = "value";</code></pre>
 
- </div>
 
-     <h5>Parameters:</h5>
 
-     
 
- <table class="params">
 
-     <thead>
 
-     <tr>
 
-         
 
-         <th>Name</th>
 
-         
 
-         <th>Type</th>
 
-         
 
-         <th>Attributes</th>
 
-         
 
-         
 
-         <th class="last">Description</th>
 
-     </tr>
 
-     </thead>
 
-     <tbody>
 
-     
 
-         <tr>
 
-             
 
-                 <td class="name"><code>_description</code></td>
 
-             
 
-             <td class="type">
 
-             
 
-                 
 
- <span class="param-type">string</span>
 
-             
 
-             </td>
 
-             
 
-                 <td class="attributes">
 
-                 
 
-                     <optional><br>
 
-                 
 
-                 
 
-                 
 
-                 </td>
 
-             
 
-             
 
-             <td class="description last"><p>Optional: a description of the Symbol that will provide a hint of what the
 
- Symbol is for. Only for debug, does not affect the actual Symbol in any way.</p></td>
 
-         </tr>
 
-     
 
-     </tbody>
 
- </table>
 
- <dl class="details">
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     <dt class="tag-source">Source:</dt>
 
-     <dd class="tag-source"><ul class="dummy"><li>
 
-         <a href="polyfill_Symbol.js.html">polyfill/Symbol.js</a>, <a href="polyfill_Symbol.js.html#line15">line 15</a>
 
-     </li></ul></dd>
 
-     
 
-     
 
-     
 
-     
 
- </dl>
 
- <h5>Throws:</h5>
 
-         
 
- <dl>
 
-     <dt>
 
-         <div class="param-desc">
 
-         <p>Throws a TypeError if used as a constructor (with new).</p>
 
-         </div>
 
-     </dt>
 
-     <dd></dd>
 
-     <dt>
 
-         <dl>
 
-             <dt>
 
-                 Type
 
-             </dt>
 
-             <dd>
 
-                 
 
- <span class="param-type">TypeError</span>
 
-             </dd>
 
-         </dl>
 
-     </dt>
 
-     <dd></dd>
 
- </dl>
 
-     
 
-     
 
-     </div>
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
-     
 
- </article>
 
- </section>
 
- </div>
 
- <nav>
 
-     <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-barejs.html">barejs</a></li><li><a href="module-barejs_polyfill.html">barejs/polyfill</a></li><li><a href="module-barejs_polyfill_Intl.html">barejs/polyfill/Intl</a></li></ul><h3>Classes</h3><ul><li><a href="module-barejs.decl.html">decl</a></li><li><a href="module-barejs.decl-Enum.html">Enum</a></li><li><a href="module-barejs.decl-Interface.html">Interface</a></li><li><a href="module-barejs.decl-SpecialType.html">SpecialType</a></li><li><a href="module-barejs.Destroyable.html">Destroyable</a></li><li><a href="module-barejs.EventArgs.html">EventArgs</a></li><li><a href="module-barejs.Evented.html">Evented</a></li><li><a href="module-barejs.Evented-EventedHandle.html">EventedHandle</a></li><li><a href="module-barejs.Exception.html">Exception</a></li><li><a href="module-barejs_polyfill.Array.html">Array</a></li><li><a href="module-barejs_polyfill.Date.html">Date</a></li><li><a href="module-barejs_polyfill.EntryStore.html">EntryStore</a></li><li><a href="module-barejs_polyfill.EntryStore.Iterator.html">Iterator</a></li><li><a href="module-barejs_polyfill.Function.html">Function</a></li><li><a href="module-barejs_polyfill.Map.html">Map</a></li><li><a href="module-barejs_polyfill.Map-MapIterator.html">MapIterator</a></li><li><a href="module-barejs_polyfill.Math.html">Math</a></li><li><a href="module-barejs_polyfill.Number.html">Number</a></li><li><a href="module-barejs_polyfill.Object.html">Object</a></li><li><a href="module-barejs_polyfill.Promise.html">Promise</a></li><li><a href="module-barejs_polyfill.Set.html">Set</a></li><li><a href="module-barejs_polyfill.Set-SetIterator.html">SetIterator</a></li><li><a href="module-barejs_polyfill.String.html">String</a></li><li><a href="module-barejs_polyfill.Symbol.html">Symbol</a></li><li><a href="module-barejs_polyfill.WeakMap.html">WeakMap</a></li><li><a href="module-barejs_polyfill.WeakSet.html">WeakSet</a></li><li><a href="module-barejs_polyfill_Intl.DateTimeFormat.html">DateTimeFormat</a></li><li><a href="module-barejs_polyfill_Intl.DateTimeFormat-DateTimeFormatOptions.html">DateTimeFormatOptions</a></li><li><a href="module-barejs_polyfill_Intl.NumberFormat.html">NumberFormat</a></li><li><a href="module-barejs_polyfill_Intl.NumberFormat-NumberFormatOptions.html">NumberFormatOptions</a></li><li><a href="module-barejs_polyfill_Intl-Format.html">Format</a></li></ul>
 
- </nav>
 
- <br class="clear">
 
- <footer>
 
-     Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Oct 03 2018 15:59:34 GMT+0200 (W. Europe Daylight Time)
 
- </footer>
 
- <script> prettyPrint(); </script>
 
- <script src="scripts/linenumber.js"> </script>
 
- </body>
 
- </html>
 
 
  |