Analyzing code usage through GitHub code search.
https://docs.github.com/en/rest/search?apiVersion=2022-11-28#search-code
query {code} (language:JavaScript OR language: TypeScript)
dumped at 2023/6/10
code | count |
---|---|
Math.floor | 681728 |
Math.max | 539392 |
Math.round | 419584 |
Math.min | 405888 |
Math.random | 278016 |
Math.abs | 268672 |
Math.ceil | 246272 |
Math.sqrt | 201968 |
Math.PI | 196008 |
Math.pow | 161472 |
Math.cos | 116768 |
Math.sin | 95544 |
Math.log | 55968 |
Math.atan | 50716 |
Math.E | 42464 |
Math.atan2 | 32608 |
Math.tan | 19712 |
Math.exp | 17624 |
Math.sign | 11368 |
Math.acos | 10836 |
Math.asin | 10280 |
Math.trunc | 10040 |
Math.log10 | 7472 |
Math.log2 | 7432 |
Math.LN2 | 6488 |
Math.hypot | 5288 |
Math.LN10 | 3824 |
Math.imul | 3664 |
Math.fround | 2882 |
Math.sinh | 2788 |
Math.cbrt | 2543 |
Math.cosh | 2328 |
Math.tanh | 2160 |
Math.clz32 | 2136 |
Math.log1p | 2098 |
Math.LOG2E | 2044 |
Math.SQRT2 | 2026 |
Math.asinh | 2023 |
Math.LOG10E | 1950 |
Math.expm1 | 1941 |
Math.atanh | 1817 |
Math.SQRT1_2 | 1784 |
Math.acosh | 1753 |
dumped at 2023/6/10
code | count |
---|---|
Object.keys | 716800 |
Object.assign | 590336 |
Object.defineProperty | 271360 |
Object.is | 191168 |
Object.create | 178304 |
Object.entries | 162048 |
Object.values | 158016 |
Object.prototype | 148864 |
Object.freeze | 86912 |
Object.getPrototypeOf | 43776 |
Object.defineProperties | 36920 |
Object.getOwnPropertyNames | 30816 |
Object.name | 25184 |
Object.hasOwn | 24024 |
Object.setPrototypeOf | 22144 |
Object.fromEntries | 20824 |
Object.length | 10760 |
Object.getOwnPropertySymbols | 10364 |
Object.getOwnPropertyDescriptor | 10176 |
Object.seal | 7728 |
Object.getOwnPropertyDescriptors | 5604 |
Object.isFrozen | 5464 |
Object.isExtensible | 4464 |
Object.preventExtensions | 4328 |
Object.isSealed | 1957 |
dumped at 2023/6/10
code | count |
---|---|
Number.isInteger | 41360 |
Number.MAX_VALUE | 31104 |
Number.isNaN | 25744 |
Number.MAX_SAFE_INTEGER | 23840 |
Number.parseInt | 19600 |
Number.POSITIVE_INFINITY | 14432 |
Number.isFinite | 13384 |
Number.prototype | 10736 |
Number.length | 9408 |
Number.NEGATIVE_INFINITY | 8936 |
Number.parseFloat | 6304 |
Number.MIN_SAFE_INTEGER | 6096 |
Number.MIN_VALUE | 5880 |
Number.NaN | 5116 |
Number.EPSILON | 4684 |
Number.isSafeInteger | 3552 |
Number.name | 1232 |
dumped at 2023/6/10
code | count |
---|---|
String.fromCharCode | 133216 |
String.length | 75840 |
String.prototype | 56872 |
String.fromCodePoint | 6024 |
String.raw | 5216 |
String.name | 1722 |