uid

var uid = 0

function nextUid() {
    return ++uid
}
原文地址:https://www.cnblogs.com/jzm17173/p/5840243.html