웹 브라우저의 콘솔에 글자를 표시합니다.
print()는 디버깅할 때 값을 출력하는 데에 유용하게 사용할 수 있습니다. print()를 호출할 때마다 새 줄이 생성됩니다.
참고: "빈 줄을 출력하려면 print('\n')를 호출하세요. 아무 인수 없이 print()를 호출하면 문서를 출력하기 위한 브라우저의 대화 상자(dialog)가 열립니다.
예제
구문
print(contents)
매개변수
contents
Any:
콘솔에 출력할 내용
This page is generated from the comments in src/core/environment.js . Please feel free to edit it and submit a pull request!