readAsText

open override fun readAsText(): String

Throws

if the resource cannot be read: missing local file or Node error (isFile&&isNode), missing window.localStorage entry (isFile in a browser), or unreachable host (remote).