Home  >  Article  >  Web Front-end  >  Use js to write a php-like print_r output line break function_javascript skills

Use js to write a php-like print_r output line break function_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:41:491082browse
Copy code The code is as follows:



chrome OK If you use console.log
ie,
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn