The WGSLLanguageFeatures interface of the WebGPU API is a setlike object that reports the WGSL language extensions supported by the WebGPU implementation. Available only in secure contexts.
WGSLLanguageFeatures
MDN Reference