ABOUT ME

포소니는 나의 하루이자 누군가의 공감입니다. 조용히 머물러도 좋고, 가볍게 이야기를 남겨도 좋아요. 당신의 일상도, 이곳에 스며들길 바랍니다.

Today
Yesterday
Total
  • string
    Tech/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
Designed by Tistory.