There was an error while loading. Please reload this page.
lib/perf_hooks.js
1 parent acb1a71 commit b3ca539Copy full SHA for b3ca539
1 file changed
lib/perf_hooks.js
@@ -82,7 +82,6 @@ const kInsertEntry = Symbol('insert-entry');
82
constkGetEntries=Symbol('get-entries');
83
constkIndex=Symbol('index');
84
constkMarks=Symbol('marks');
85
-constkCount=Symbol('count');
86
87
constobservers={};
88
constobserverableTypes=[
@@ -287,11 +286,6 @@ class PerformanceObserverEntryList {
287
286
writable: true,
288
enumerable: false,
289
value: {}
290
-},
291
-[kCount]: {
292
-writable: true,
293
-enumerable: false,
294
-value: 0
295
}
296
});
297
L.init(this[kEntries]);
@@ -300,11 +294,6 @@ class PerformanceObserverEntryList {
300
[kInsertEntry](entry){
301
constitem={ entry };
302
L.append(this[kEntries],item);
303
-this[kCount]++;
304
-}
305
-
306
-getlength(){
307
-returnthis[kCount];
308
309
298
310
299
[kGetEntries](name,type){
0 commit comments