• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Haixing-Hu / js-common-util / 1e98184f-0522-4515-a343-e44e919e1313

08 Dec 2023 07:22AM UTC coverage: 55.49% (-10.3%) from 65.775%
1e98184f-0522-4515-a343-e44e919e1313

push

circleci

Haixing-Hu
style: fix coding style

274 of 513 branches covered (0.0%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

47 existing lines in 7 files now uncovered.

287 of 498 relevant lines covered (57.63%)

12.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/impl/buildin-prototype.js
1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    Copyright (c) 2022 - 2023.
4
//    Haixing Hu, Qubit Co. Ltd.
5
//
6
//    All rights reserved.
7
//
8
////////////////////////////////////////////////////////////////////////////////
9

10
// Define prototypes for various ES5+ built-in objects
11

12
/* eslint-disable no-undef */
UNCOV
13
export const PromisePrototype = (typeof Promise !== 'undefined' ? Promise.prototype : undefined);
×
UNCOV
14
export const MapPrototype = (typeof Map !== 'undefined' ? Map.prototype : undefined);
×
UNCOV
15
export const SetPrototype = (typeof Set !== 'undefined' ? Set.prototype : undefined);
×
UNCOV
16
export const WeakMapPrototype = (typeof WeakMap !== 'undefined' ? WeakMap.prototype : undefined);
×
UNCOV
17
export const WeakSetPrototype = (typeof WeakSet !== 'undefined' ? WeakSet.prototype : undefined);
×
UNCOV
18
export const ArrayBufferPrototype = (typeof ArrayBuffer !== 'undefined' ? ArrayBuffer.prototype : undefined);
×
UNCOV
19
export const SharedArrayBufferPrototype = (typeof SharedArrayBuffer !== 'undefined' ? SharedArrayBuffer.prototype : undefined);
×
UNCOV
20
export const DataViewPrototype = (typeof DataView !== 'undefined' ? DataView.prototype : undefined);
×
UNCOV
21
export const BigIntPrototype = (typeof BigInt !== 'undefined' ? BigInt.prototype : undefined);
×
UNCOV
22
export const BigInt64ArrayPrototype = (typeof BigInt64Array !== 'undefined' ? BigInt64Array.prototype : undefined);
×
UNCOV
23
export const BigUint64ArrayPrototype = (typeof BigUint64Array !== 'undefined' ? BigUint64Array.prototype : undefined);
×
UNCOV
24
export const Float32ArrayPrototype = (typeof Float32Array !== 'undefined' ? Float32Array.prototype : undefined);
×
UNCOV
25
export const Float64ArrayPrototype = (typeof Float64Array !== 'undefined' ? Float64Array.prototype : undefined);
×
UNCOV
26
export const Int8ArrayPrototype = (typeof Int8Array !== 'undefined' ? Int8Array.prototype : undefined);
×
UNCOV
27
export const Int16ArrayPrototype = (typeof Int16Array !== 'undefined' ? Int16Array.prototype : undefined);
×
UNCOV
28
export const Int32ArrayPrototype = (typeof Int32Array !== 'undefined' ? Int32Array.prototype : undefined);
×
UNCOV
29
export const Uint8ArrayPrototype = (typeof Uint8Array !== 'undefined' ? Uint8Array.prototype : undefined);
×
UNCOV
30
export const Uint8ClampedArrayPrototype = (typeof Uint8ClampedArray !== 'undefined' ? Uint8ClampedArray.prototype : undefined);
×
UNCOV
31
export const Uint16ArrayPrototype = (typeof Uint16Array !== 'undefined' ? Uint16Array.prototype : undefined);
×
UNCOV
32
export const Uint32ArrayPrototype = (typeof Uint32Array !== 'undefined' ? Uint32Array.prototype : undefined);
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc