语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -2,13 +2,13 @@
<div></div>
<p> <code><strong>byteLength</strong></code> 访问器属性表示以字节为单位的一个<a href="Reference/Global_Objects/SharedArrayBuffer" title="SharedArrayBuffer 对象用来表示一个通用的固定长度的原始二进制数据缓冲区类似于 ArrayBuffer 对象它们都可以用来在共享内存shared memory上创建视图。与 ArrayBuffer 不同的是SharedArrayBuffer 不能被分离。"><code>SharedArrayBuffer</code></a>的长度。</p>
<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox"><var>sab</var>.byteLength</pre>
<pre><code class="language-javascript"><var>sab</var>.byteLength</code></pre>
<h2 id="Description">Description</h2>
<p>The <code>byteLength</code> property is an accessor property whose set accessor function is <code>undefined</code>, meaning that you can only read this property. The value is established when the shared array is constructed and cannot be changed.</p>
<h2 id="Examples">Examples</h2>
<pre class="brush:js">var sab = new SharedArrayBuffer(1024);
<pre><code class="language-js">var sab = new SharedArrayBuffer(1024);
sab.byteLength; // 1024
</pre>
</code></pre>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<tbody>