lukeed / klona

A tiny (240B to 501B) and fast utility to "deep clone" Objects, Arrays, Dates, RegExps, and more!
MIT License
1.62k stars 43 forks source link

if (str === '[object Blob]') return x.slice #29

Closed tooss367 closed 3 years ago

tooss367 commented 3 years ago

if (str === '[object Blob]') return x.slice

maybe we should support blob, but it's uneasy for test. if you accept it, i will make a pr.

if (str === '[object Blob]') return x.slice();

8

Originally posted by @tooss367 in #8 (comment)

Originally posted by @tooss367 in #27 (comment)

Originally posted by @tooss367 in https://github.com/lukeed/klona/issues/28#issuecomment-755938352