UNPKG
jsdom-napi-rs-canvas
Version:
latest (19.0.0)
19.0.0
A JavaScript implementation of many web standards
github.com/jsdom/jsdom
jsdom/jsdom
jsdom-napi-rs-canvas
/
lib
/
jsdom
/
living
/
file-api
/
FileList-impl.js
16 lines
(13 loc)
•
292 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"use strict"
;
const
idlUtils =
require
(
"../generated/utils.js"
);
exports
.
implementation
=
class
FileListImpl
extends
Array
{
constructor
(
) {
super
(
0
); }
item
(
index
) {
return
this
[index] ||
null
; } get [idlUtils.
supportedPropertyIndices
]() {
return
this
.
keys
(); } };