강의

멘토링

커뮤니티

Inflearn Community Q&A

jsm7606095's profile image
jsm7606095

asked

Jeju Coding Base Camp Code Festival: JavaScript 100 Questions

Problem 33: Print in reverse

33번 문제 for문대신 join 사용

Written on

·

208

0

안녕하세요

33번문제 혹시 for문을 join()을 사용해 아래처럼 풀면 다른 문제되는 상황이 있을까요? 차이가 궁금합니다

console.log(text.split(' ').reverse().join(' '))
joinjavascriptfor문코테 준비 같이 해요!

Answer

This question is waiting for answers
Be the first to answer!
jsm7606095's profile image
jsm7606095

asked

Ask a question