Created
February 8, 2022 13:56
-
-
Save puyepuye/8a9f90bd23b5c91f2f62354948836181 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| //solution 1 | |
| fucntion maximum(a,b){ | |
| if (a>b){ | |
| return a | |
| } else { | |
| return b | |
| } | |
| //solution 2 | |
| funciton maximum(a.b){ | |
| if (a>b) return a | |
| return b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment