-
-
不需要先import 'babel-polyfill'吗?现在的1.7版本里 useBuiltIns为true或false好像没有区别,看不出来代码有变化
-
### System Info
System:
OS: Linux 6.5 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (32) x64 Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
Memory: 109.55 GB / 125.78 GB
Container: Yes
Shell: 5.0.17 - /bin/ba…
-
**Is your feature request related to how popovers work in general?**
No
**Is your feature request related to how this polyfill works? Please describe.**
Sort of, it's on adding support for a new …
-
@ljharb can you help me articulate here why polyfilling this in isn't a better idea (as opposed to baking it into the language)?
-
Implementing the Givens rotation function `rotg` required a `Math.sign()` function which isn't present in older Node versions such as v0.10. I don't necessarily like having a polyfill, but maybe other…
tab58 updated
8 years ago
-
Should we discuss the situation around polyfill.io?
Subj:
https://www.sonatype.com/blog/polyfill.io-supply-chain-attack-hits-100000-websites-all-you-need-to-know
Background:
https://blog.cloud…
-
Since:
- Winston Churchill is authored in ES6/7
- Winston Churchill components _can_ be authored in ES6/7
- babel does not offer certain polyfills [due to size](https://github.com/babel/babel/issues/3…
-
- [ ] fetch https://github.com/github/fetch
- [x] mediarecorder https://github.com/ai/audio-recorder-polyfill
- [ ] promise https://github.com/taylorhakes/promise-polyfill
-
实现bind要做什么
1. 返回一个函数,绑定this,传递预置参数
2. bind返回的函数可以作为构造函数使用。故作为构造函数时应使得this失效,但是传入的参数依然有效
```js
if (!Function.prototype.bind) {
Function.prototype.bind = function (oThis) {
if (typeof th…