Data Types
데이터타입
Comment (주석)
//to do : finish this
const what = ?????
데이터타입의 종류
Data Types
Description
String
따옴표 안에 문자나 숫자가 들어감
Boolean
true(0) / false(1) (텍스트가 아니므로 따옴표 필요X)
Number
숫자
Float
소수점 숫자
const what = "Test"; // String
const what = false; // Boolean
const what = 666; // Number
const what = 55.1; // Float
Last updated
Was this helpful?