js.removeNS: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page js.removeNS to Js.removeNS without leaving a redirect: Converting page title to first-letter uppercase) |
m (Conversion script moved page Js.removeNS to js.removeNS: Converting page titles to lowercase) |
(No difference)
|
Revision as of 23:44, 9 February 2023
This article describes a feature or macro function that is experimental and may be subject to change.
js.removeNS() Function
• Introduced in version 1.10.0
Removes a javascript namespace. If the targetd namespace is trusted, this must be run from a trusted context.
Usage
js.removeNS(namespace)
Parameters
namespace
- The namespace to remove.
Example
Using
js.eval
on an expression
.
[r: removeNS("demo")]