Update Babel plugin tests (#20053)
This commit is contained in:
1 parent
475893a105
commit
733f4e9604
57 files changed
+1308
-2872
No files matched your search
@@ -1,17 +1,5 @@
|
||||
// https://babeljs.io/docs/babel-plugin-proposal-function-bind
|
||||
/*
|
||||
`functionBind` ([proposal](https://github.com/zenparsing/es-function-bind))
|
||||
*/
|
||||
|
||||
obj::func
|
||||
// is equivalent to:
|
||||
func.bind(obj)
|
||||
|
||||
::obj.func
|
||||
// is equivalent to:
|
||||
obj.func.bind(obj)
|
||||
|
||||
obj::func(val)
|
||||
// is equivalent to:
|
||||
func.call(obj, val)
|
||||
|
||||
::obj.func(val)
|
||||
// is equivalent to:
|
||||
obj.func.call(obj, val)
|
||||
a::b
|
||||
Reference in new issue
Block a user