Home >Web Front-end >JS Tutorial >JavaScript Expressions: Introduction to URL Protocol_Basic Knowledge
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