FontFaceSet: phương thức entries()
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
Note: This feature is available in Web Workers.
Phương thức entries() của giao diện FontFaceSet trả về đối tượng Iterator mới, chứa mảng [value,value] cho mỗi phần tử trong FontFaceSet.
Cú pháp
js
entries()
Tham số
Không có.
Giá trị trả về
Iterator mới chứa mảng [value, value] cho mỗi phần tử trong CustomStateSet, theo thứ tự chèn.