📜  chrome 版本发布日期 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:53.260000             🧑  作者: Mango

代码示例1
// This calculation is near accurate
// This is only for developer

// Chrome version ——> relese year
relese_year = 2010 + chrome_version / 8
// Example: Chrome version = 75.0
// relese_year = 2010 + (75.0 / 8) = 2019.375 
//                                  ~= mid of May 19 [Actual is start of June 19] 

// relese year ——> Chrome version
chrome_version = (relese_year - 2010) * 8
chrome_version = last_digit of year * 8