강의

멘토링

커뮤니티

Inflearn Community Q&A

No author

This post's author information has been deleted.

[Renewal] Introduction to JavaScript in Zero Seconds through Coding Self-Study

String basics (quotes, backticks, typeof, escape)

자바스크립트 문자열 질문

Written on

·

292

0

안녕하세요 왜 제 브라우저에서는 \슬래쉬 이스케이프 안하고 출력되나요? 강사님 화면 처럼 \한개만 출력 되지 않습니다. \n 줄바꿈 질문처럼 이것도 \가 이스케이프 한건가요? 스크린샷(72).png

자바스크립트javascript\\제로초

Answer 1

1

zerocho님의 프로필 이미지
zerocho
Instructor

alert('how\nre you?');
했을 때 제대로 줄바꿈 되나 한 번 해보세요. 이 때 된다면 되는 겁니다.

No author

This post's author information has been deleted.

Ask a question