carrie-xin

Results 6 comments of carrie-xin

``` // preview image select image // play video ? select video // this not working ``` @AckerApple i just want to play video with source file, because it takes...

@AckerApple I've solved this problem by **FileReader** , thank you all the same😄

@AckerApple [Here](https://stackblitz.com/edit/angular-file-preview-video) example with Pre-play video

先说结果,输出是false; a是基本数据类型number,b是通过new 操作符创建的引用类型实例,所以typeof(b) 是object,因而结果为false。 基本包装类型是ECMAScript为了便于操作基本类型值提供的三种特殊的引用类型(function),包括:Number、String、Boolean

**1.入参不同;** parseInt(val, radix); // val为string类型(非字符串自动调用toString方法转化),radix(2~32)进制; Number(val); // val为number类型(非number类型自动转化成number,不能转的返回NaN); **2.返回结果不同;** parseInt() 返回整数或NaN; Number() 返回整数或小数或NaN; eg: ``` Number(2.5); // 2.5 parseInt(2.5); // 2 Number('true'); // 1 parseInt('true'); // NaN ``` **3.函数类型不同;** parseInt()是JavaScript的全局函数;...