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@d78e2ed

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
@@ -75,7 +75,6 @@ const kInsertEntry = Symbol('insert-entry');
7575
const kGetEntries = Symbol('get-entries');
7676
const kIndex = Symbol('index');
7777
const kMarks = Symbol('marks');
78-
const kCount = Symbol('count');
7978

8079
const observers = {};
8180
const observerableTypes = [
@@ -280,11 +279,6 @@ class PerformanceObserverEntryList {
280279
writable: true,
281280
enumerable: false,
282281
value: {}
283-
},
284-
[kCount]: {
285-
writable: true,
286-
enumerable: false,
287-
value: 0
288282
}
289283
});
290284
L.init(this[kEntries]);
@@ -293,11 +287,6 @@ class PerformanceObserverEntryList {
293287
[kInsertEntry](entry) {
294288
const item = { entry };
295289
L.append(this[kEntries], item);
296-
this[kCount]++;
297-
}
298-
299-
get length() {
300-
return this[kCount];
301290
}
302291

303292
[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.