[javascript] 문자열 특정문자 갯수 찾기

      const nullCount = query.join('').match(/NULL/g).length;
      console.log(`==================nullCount: ${nullCount}`);
      if (nullCount >= 32) {
        query.splice(0, query.length, 'SELECT NOW()');
        queryParams.splice(0, queryParams.length);
      }

links

social