fe-interview icon indicating copy to clipboard operation
fe-interview copied to clipboard

实现一个 function counter(),全局下每次调用返回值 +1

Open habc0807 opened this issue 4 years ago • 1 comments

habc0807 avatar Sep 02 '20 08:09 habc0807

const counter = ((count) => () => count++)(0);

kayac-chang avatar Mar 18 '24 07:03 kayac-chang