GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib: remove non used getter in `lib/perf_hooks.js` · nodejs/node@b3ca539

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • perf_hooks.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/perf_hooks.js‎

Copy file name to clipboardExpand all lines: lib/perf_hooks.js
-11Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const kInsertEntry = Symbol('insert-entry');
8282
const kGetEntries = Symbol('get-entries');
8383
const kIndex = Symbol('index');
8484
const kMarks = Symbol('marks');
85-
const kCount = Symbol('count');
8685

8786
const observers = {};
8887
const observerableTypes = [
@@ -287,11 +286,6 @@ class PerformanceObserverEntryList {
287286
writable: true,
288287
enumerable: false,
289288
value: {}
290-
},
291-
[kCount]: {
292-
writable: true,
293-
enumerable: false,
294-
value: 0
295289
}
296290
});
297291
L.init(this[kEntries]);
@@ -300,11 +294,6 @@ class PerformanceObserverEntryList {
300294
[kInsertEntry](entry) {
301295
const item = { entry };
302296
L.append(this[kEntries], item);
303-
this[kCount]++;
304-
}
305-
306-
get length() {
307-
return this[kCount];
308297
}
309298

310299
[kGetEntries](name, type) {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.