Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The lineNumber
read-only property of the DeprecationReportBody
interface returns the line in the source file in which the deprecated feature was used.
Note: This property is most useful alongside DeprecationReportBody.sourceFile
as it enables the location of the line in that file where the error occurred.