wall-wxk / fe-interview

前端面试手册
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

奇偶次调用 #40

Open wall-wxk opened 2 years ago

wall-wxk commented 2 years ago

https://fe-interview.wangxiaokai.vip/writing/odd-even-call
实现方法,可以识别是奇数次调用,还是偶数次调用