Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The sourceFile
read-only property of the DeprecationReportBody
interface returns the path to the source file where the deprecated feature was used.
Note: This property can be used with DeprecationReportBody.lineNumber
and DeprecationReportBody.columnNumber
to locate the column and line in the file where the error occurred.