My front-end schema rollup
Myjs_core.js
This is a core JS file, it expands the native JS method. As follows:
Array object:1) indexOf2) max3) min4) removeAt5) insertAt6 ) INTERSECT8) MINUS9) Recursion10) last11) distinct12) to13 String object: 1) Indexfrom: case-insensitive to find. 2) format: Use the index for parameterization. 3) Formatex: Use JSON for parameterization. 4) is: case insensitive. 5) padLeft6) padRight7) trim8) GETCN: Find out Chinese 9) toTimeString10 ) Bytelen: Up to the size of bytes 11) getDate12) ISGUID13) Mysplit: Returns a non-empty collection of objects. Insert : Inserts a string at one location) split to resolve different browser split is not uniform situation.
Date object:1) toString: Supports format string: YYYY-MM-DD2) Add: Add TimeSpan Data (TimeSpan is date.valueof () data) 3) addSeconds4) ADDDAYS5) addMonths6) getendofmonthdate: The date of the last day of the month.
Number object:1) toFixed Unified Support because some browsers do not support it.
One of my front-end architectures--Unified Extension JS method