We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8086af6 commit be4784cCopy full SHA for be4784c
lib/node_modules/@stdlib/array/to-json/test/fixtures/custom.proto.js
@@ -18,6 +18,14 @@
18
19
'use strict';
20
21
+// MODULES //
22
+
23
+var Float64Array = require( '@stdlib/array/float64' );
24
+var defineProperty = require( '@stdlib/utils/define-property' );
25
26
27
+// MAIN //
28
29
/**
30
* Creates a CustomTypedArray class.
31
*
@@ -42,7 +50,7 @@ function createClass( ctor ) {
42
50
for ( i = 0; i < data.length; i++ ) {
43
51
this[ i ] = data[ i ];
44
52
}
45
- Object.defineProperty( this, 'length', {
53
+ defineProperty( this, 'length', {
46
54
'configurable': false,
47
55
'enumerable': true,
48
56
'writable': false,
0 commit comments