忘れた時用
| メソッド | 脳内変換前 | 脳内変換後 |
|---|---|---|
| call | methodA.call(obj, a, b, c); | obj.methodA(a, b, c); |
| apply | methodA.apply(obj, [a, b, c]); | obj.methodA(a, b, c); |
| bind | methodA.bind(obj, a, b, c); | function(a, b, c) { obj.methodA(a, b, c); } |
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
忘れた時用
| メソッド | 脳内変換前 | 脳内変換後 |
|---|---|---|
| call | methodA.call(obj, a, b, c); | obj.methodA(a, b, c); |
| apply | methodA.apply(obj, [a, b, c]); | obj.methodA(a, b, c); |
| bind | methodA.bind(obj, a, b, c); | function(a, b, c) { obj.methodA(a, b, c); } |
Register as a new user and use Qiita more conveniently
Go to list of users who liked