[Javascript] 자료형
boolean - true, false string - 따옴표('), 큰 따옴표(")로 감싸 표현 - "\" escape character 활용 - "\n" 줄 바꿈 더보기 - 문자열 길이 var str = "12345"; str.length; //5 "12345".length; //5 str["length"]; //5 - 문자열 붙이기 var str1 = "hello"; var str2 = " world"; str1.concat(str2); //"hello world" "hello".concat(" world").concat("!"); //"hello world!" str1 + str2; //"hello world" "hello" + " world"; //"hello world" "저는" + 26 + ..