JavaScript

str.includes() 메서드 - JavaScript

파란배개 2020. 9. 20. 15:01
str.includes(str2) 
//str이라는 문자열 안에 str2라는 문자열이 존재하는지 확인한다. Boolean값을 리턴한다.