Created
May 20, 2019 23:16
-
-
Save jennz0r/86d910abd9c862ff504868a2d2d23299 to your computer and use it in GitHub Desktop.
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
// You can coerce an integer into string in JavaScript | |
let coerced = 1; | |
let concatenated = coerced + 'string'; |
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
# You can't coerce an integer into a string in Python | |
not_coerced = 1 | |
concatenated = str(not_coerced) + 'string' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment