비전공 개발자 yatto/Daily-style
[node.js]
알 수 없는 사용자
2020. 2. 29. 10:55
#1. console.log `(백틱) 의 사용
변수 콘솔 찍을때 사용
const hi = 'hello';
//출력
const statement = `${hi};
console.log(`${hi})
#2. 숫자 판단 isNaN()
true : stirng
false : number
#3.문자열 찾기 indexOf()
있으면 0부터
없으면 -1 반환
#4.