Cotton Hou

Results 58 comments of Cotton Hou

Quick note: [slice] creates a copy of internal memory _v.s._ [subarray] keeps its **ArrayBuffer** untouched (shared). [slice]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/slice [subarray]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray

纠正,1.x 里 `$http` 返回的 `Promise` 可以直接使用,并不需要 wrapper ``` javascript angular.module('App', ['ngMockE2E']).run(function ($httpBackend, $http) { $httpBackend.whenGET('/list').respond([1, 2, 3]); function mapData(url) { return $http.get(url) .then(result => result.data) .then(data => data.map(item => item...

@stickupkid Okay, let's besides my changes on the `NativeMappedSignal`, as mentioned in the issue detail, the new [test case](https://github.com/imcotton/as3-signals/commit/c6691e4b99fa5392511d7d2bed4430149f18ccfa#L2R118) will cause an uncatchable exception witch, I don't think it's a...

Sorry guys, but by just running the test case alone to against the current `master` branch, I still got **green pass** with **uncatchable exception** says: `TypeError: Error #1034: Type Coercion...

node --experimental-repl-await https://nodejs.org/api/cli.html#cli_experimental_repl_await

Updated `CONTRIBUTORS.md` and put new entry to `CHANGELOG.d`, wasn't sure about these changes for an external version bump, thanks for the reminding.

![giphy](https://user-images.githubusercontent.com/149541/128612002-721671be-6634-4dba-ac14-4fe40267bda8.gif) https://github.com/tc39/proposal-record-tuple

Good question yet I do not have solid experience on webpack's `.mjs` supporting. Thinking it'd be better just leave as existing `index-esm.js` for now and make the cut?

Drop out the second commit and rebased with the master branch, leaves only rollup related changing for now.

But in **Haskell** (or **PureScript**) you'd almost be using `flap` by its infix flavor `` which matches current curried signature from **fp-ts**, so that: > Apply a value in a...