This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

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 ⁨2015년 7월⁩.

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

Syntax

js
var file = instanceOfFileReader.result;

Value

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

명세서

Specification
File API
# dom-filereader-result

브라우저 호환성

See also