题解 | #判断版本#
判断版本
https://www.nowcoder.com/practice/dcc4b011c86c454aa58cb1790a8cb760
{"css":"","js":"","html":"<!DOCTYPE html>\n<html>\n <head>\n <meta charset=utf-8>\n </head>\n <body>\n \t\n <script type=\"text/javascript\">\n const _shouldUpdate = (oldVersion, newVersion) => {\n // 补全代码\n if (!oldVersion || !newVersion) return false\n return +newVersion.split('.').join('') > +oldVersion.split('.').join('')\n }\n </script>\n </body>\n</html>","libs":[]}#你觉得今年春招回暖了吗##互联网没坑了,还能去哪里?##在找工作求抱抱#