题解 | #判断版本#
判断版本
https://www.nowcoder.com/practice/dcc4b011c86c454aa58cb1790a8cb760?tpId=271&tqId=39546&rp=1&ru=/exam/oj&qru=/exam/oj&sourceUrl=%2Fexam%2Foj%3Fpage%3D1%26tab%3DHTML%252FCSS%26topicId%3D260&difficulty=undefined&judgeStatus=undefined&tags=&title=
const _shouldUpdate = (oldVersion, newVersion) => {
// 补全代码
return oldVersion < newVersion?true:false
}