Açıklaması şöyle
A polyfill is code which simulates modern JavaScript features missing in older browsers.
Örnek
Şöyle yaparız
function filter(array, condition) {result = []for (element of array)if condition(element)result.push(element)return result}if (Array does not have filter function)Array.filter = filter
Hiç yorum yok:
Yorum Gönder