Single Time

node v8.17.0
version: 1.0.0
endpointsharetweet
var singleTime = require("single-time") let i = 0; const foo = singleTime(() => i++); foo(); //=> 0 foo(); //=> 0 foo(); //=> 0
Loading…

no comments

    sign in to comment