
Media Source Extensions
2021年4月21日

Given an integer n, return the number of trailing zeroes in n!.
Follow up: Could you write a solution that works in logarithmic time complexity?
Example 1:
Input: n = 3
Output: 0
Explanation: 3! = 6, no trailing zero.
虽然已经写前端很多年,但刚开始接触 JavaScript 时总是会搞混一些方法,比如 call/apply、slice/splice、substr/substring 等等。
所以在这里开一篇文章,专门记录这些容易搞混的方法,并且给出我自己的“永远不搞混”攻略!
该文章默认你知道这些函数都是干嘛的,如果不知道,那就去搜索吧
有时候我们为了方便会定义一些命令的别名,alias,但是定义后的别名很难找出来是什么时候,哪个文件定义的,所以可以用这个方法