Created
January 18, 2021 05:32
-
-
Save hw0k/2fc800dbd17b6299277852a438600a78 to your computer and use it in GitHub Desktop.
TN 8
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
let value: string | number; | |
value = 3; | |
// value는 number로 추론됨. | |
value.toPrecision(5); | |
value.toFixed(5); | |
value = 'abc'; | |
// value는 string으로 추론됨. | |
value.split('').reverse().join(''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment