Last active
May 1, 2024 21:04
-
-
Save dgeibi/2ca7d891ac7d961b8d1e32fdf8929d11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Class { | |
| w(config) { | |
| config = arguments[1]; config.url = arguments[0]; console.log(arguments[1],arguments[0]); | |
| } | |
| } | |
| new Class().w('xxx', {}) | |
| function fn(config) { config = arguments[1]; config.url = arguments[0]; console.log(arguments[1],arguments[0]); } | |
| fn('xxx', {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment