FileReader.result

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

파일의 내용을 반환한다. 이 속성은 읽기가 완료 된 후에만 사용 가능 하며 데이터의 형식은 읽기 작업에 어떤 함수가 사용되었는가에 의해 정해진다.

Syntax

js
var file = instanceOfFileReader.result;

Value

읽기 작업에 사용된 함수에 의해 string 또는 ArrayBuffer 가 된다.

명세서

Specification
File API
# dom-filereader-result

브라우저 호환성

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
result

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also