coolaj86/node-browser-compat — pull request #2 by pwnall (2012-09-13 05:09:44+00:00)
Title: Fix btoa to match browser implementations

`btoa` does not match the browser-side implementations.

For example, in Chrome, `btoa(String.fromCharCode(252))` returns `"/A=="`. This commit fixes `btoa`.