v8/test/mjsunit/runtime-gen/dataviewsetuint16.js

9 lines
355 B
JavaScript

// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
var _is_little_endian = true;
%DataViewSetUint16(_holder, _offset, _value, _is_little_endian);