mirror of https://github.com/lukechilds/node.git
Browse Source
PR-URL: https://github.com/nodejs/node/pull/8587 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>v6
Yosuke Furukawa
8 years ago
committed by
James M Snell
3 changed files with 17 additions and 5 deletions
@ -0,0 +1,10 @@ |
|||||
|
// Flags: --harmony_sharedarraybuffer
|
||||
|
|
||||
|
'use strict'; |
||||
|
require('../common'); |
||||
|
const assert = require('assert'); |
||||
|
const util = require('util'); |
||||
|
|
||||
|
/* global SharedArrayBuffer */ |
||||
|
const sab = new SharedArrayBuffer(4); |
||||
|
assert.strictEqual(util.format(sab), 'SharedArrayBuffer { byteLength: 4 }'); |
Loading…
Reference in new issue