The nonce property of the MathMLElement interface returns the nonce that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed.
A String; the cryptographic nonce, or an empty string if no nonce is set.
const math = document.querySelector("math");
console.log(math.nonce);HTMLElement.nonce a similar property for HTML elements.SVGElement.nonce a similar property for SVG elements.nonce global attributescript-src