Created
April 26, 2023 17:50
-
-
Save pointofpresence/0228d611745a6c5dfca24d303b1643a8 to your computer and use it in GitHub Desktop.
Array to number array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const prev = oldVersion.split('.').map(Number); | |
const next = newVersion.split('.').map(Number); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment