polyfill

名词 n. 动词 v.

英文释义

名词 n.
  1. A synthetic textile used for bulk or insulation, e.g., in stuffed animals or coats. uncountable
    — The racks include blouses and sweaters and some polyfill vests, with corduroy coats and outerwear due to be in stock as the weather cools.
  2. An algorithm to fill a polygon with a particular color. uncountable
    — In the process i have come up with the following algorithm , and i wonder if it is a good one (i.e. fast), and also if anyone can give me tips on any other fast polyfill algoritm^([sic]).
  3. A plugin that provides the functionality of newer browsers to older versions.
    — A common way to group elements for collective use by JavaScript is to assign them the same (CSS) class and then to use getElementsByClassName(). Possibly with a polyfill for the "certain old browser".
动词 v.
  1. To create or apply a polyfill. intransitive,transitive
    — See the FAQ. Or polyfill String.prototype.trim() if necessary and just call .trim().

词形变化

polyfills plural polyfills present,singular,third-person polyfilling participle,present polyfilled participle,past polyfilled past

词源

词源 1
Blend of polyester + fill.
词源 2
Blend of polygon + fill.
词源 3
Named with reference to the spackling paste Polyfilla.
0 次浏览 数据来源: Wiktionary