Skip to content

Commit 40ef451

Browse files
authored
Update js codes.docx
1 parent fc5421b commit 40ef451

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

js codes.docx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,9 @@ Polyfill:
20472047
along with our own logic.
20482048
3. A polyfill is a piece of code (usually JavaScript on the Web) used to provide modern functionality on older browsers that do not natively support it.
20492049

2050+
Polyfill: Sometimes array push, pop or filter methods and some window's functions like window.localstorage and window.sessionstorage these functions are not supported
2051+
by browser, so in this case we can provide our own fallback support or own code that it replace the native functions
2052+
20502053
Example for bind:
20512054
With Bind-
20522055
let name ={

0 commit comments

Comments
 (0)