• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

findIndex

React 댓글 추가, 삭제

그러므로 새로 랜더를 시킬 때 원본 배열에 바로 푸쉬를 하는 것이 아닌 새로운 배열을 복사해 복사 된 배열에만 내용을 추가하면 되는 것이었다. const newCommentData = [ const handleLike = id => { const index = commentsList.findIndex(value => value.id === id); const isLikedCommentList...

&&slicefindIndex&&

[JS30] - 7) Array Cardio Day 2

🌛 Array.prototype.some() is at least one person 19 or older? 🌛 Array.prototype.every() is everyone 19 or older? 🌛 Array.prototype.find() Find is like filter, but instead returns just the one you are looking for... find t...

everyfindSOMEfindIndexSOME

Python Day 6_문자열표현, 문자열함수

list1에 담긴 각각 금액에 10%를 반영한 금액을 소수 첫째자리에서 반올림하여 print 함수로 출력해주세요. list1에 담긴 이윤과 판매가격 각각 금액에 10%를 반영해 list1에 소수 첫째자리에서 반올림하여 다시 저장해 주세요. list1에서 5000원 미만의 품목은 제외하고 판매가격만을 출력해보자 list1에서 5000원 미만의 품목을 list1에서 제외하고 판매 중인 판매가격만...

split()endformatLOWERcountsep표준출력flushstrip()가사에나타나는단어수구하기문자열함수isupper파일입출력capitalize소수점자릿수표현replaceUPPERJOINfstringwith문자열표현findIndex문자열정렬find심화JOIN

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more