摘要:
I have used hash urls for my website and made safari extension for the same. For login/logout my extension opens ourdmain.in in new tab and listens to 阅读全文
摘要:
Swap two nodes The function below swaps two given nodes, nodeA and nodeB: const swap = function (nodeA, nodeB) { const parentA = nodeA.parentNode; con 阅读全文
摘要:
os enumerate枚举,主要是同时得到索引和对应的值 enumerate是Python的一个内置函数。 索引值默认从0开始,但也可以将其设置为任何整数。 枚举 字符串¶ In [ ]: word = "Speed" for index, char in enumerate(word): pri 阅读全文