Home  >  Article  >  Web Front-end  >  JavaScript Expressions: Introduction to URL Protocol_Basic Knowledge

JavaScript Expressions: Introduction to URL Protocol_Basic Knowledge

WBOY
WBOYOriginal
2016-05-16 17:40:36918browse

javascript: can be followed by any legal javascript expression or a collection of expressions separated by semicolons, and the results will be returned to the browser window in the form of a string.

For example, enter javascript: 5 4 in the address bar of the browser. After pressing Enter, the browser window will display 9

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