-
stringTech/NodeJs 2020. 1. 10. 21:23반응형
let string = 'node.js' let isStartWith = string.startWith('n') let isIncludes =string.includes('node') let isEndWith = string.endWith('d') const checkIfContains = () => { if(isStartWith && isIncludes && isEndWith){ return true } } const ret = checkIfContains()
반응형'Tech > NodeJs' 카테고리의 다른 글
type checking (0) 2020.01.10 template string (0) 2020.01.10 static method (0) 2020.01.10 some (0) 2020.01.10 has (0) 2020.01.10