blob: de1f086d34a0df4aebd68d0891196ce26491d6b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
---
title: FileReader.result
slug: Web/API/FileReader/result
browser-compat: api.FileReader.result
translation_of: Web/API/FileReader/result
---
{{APIRef("File API")}}
파일의 내용을 반환한다. 이 속성은 읽기가 완료 된 후에만 사용 가능 하며 데이터의 형식은 읽기 작업에 어떤 함수가 사용되었는가에 의해 정해진다.
## Syntax
```js
var file = instanceOfFileReader.result
```
## Value
읽기 작업에 사용된 함수에 의해 string 또는 {{domxref("ArrayBuffer")}} 가 된다.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- {{domxref("FileReader")}}
|