Aleen
Aleen
## If you can't generate `Blob` with `TypedArray` under IE10 (若你在 IE10 无法生成 `TypedArray` 的 `Blob`) Sometimes, if you get such a error when trying to generate `Blob` with a...
There are still some bugs when drawing SVG files, but I would like to firstly write a whole article to introduce how it works in [**a later post**](https://aleen42.github.io/PersonalWiki/post/how_to_draw/how_to_draw.html).
@nicolo-ribaudo In such a case, why not keeping it and do not compile it with a variable to hold such a function?
@hanzichi hey, 我想把你的這些分析, 寫成英文, 並放在自己的筆記中以供學習. 可以嗎? 鏈接: https://aleen42.gitbooks.io/personalwiki/content/Programming/JavaScript/Framework/underscore/type_inference_and_tutorials/type_inference_and_tutorials.html
可否采用 undefinedOnly === void 0 来判断,而非 arguments.length
@WangBoxue @hanzichi 反过来实现可能需要通知 `_.without()` 是否是 `_.difference()` 来调用它。如果是,则展开参数中的所有数组,不然则不展开。当然,前提是 `_.difference()` 要保证调用 `_.without()` 时没有传递非数组元素。 ```js _.without = function(array) { var rest = (this == 'difference') ? _.flatten(arguments, false, false, 1) : Array.prototype.slice.call(arugments, 1);...
哈哈哈哈,找到原因了。若是使用 `obj !== +obj`,`new Number(1)` 照样会出现问题: ```js var a = new Number(1); a; /** => Number {[[PrimitiveValue]]: 1} */ +a; /** => 1 */ a !== +a; /** => true...
方法三如果用严格判定 item !== arr[pos - 1] 的话,不就能解决 Number 与 String 排在一起的问题咯?
@BigKongfuPanda 在作者看来,这种情况应该属于引用不同,因此不能称作完全相同的两个元素。这在于你如何理解两个元素何谓重复。
是不是因为它的二分查找并没有针对倒序的有序数组处理,因此不给予 isSorted 选项