Skip to content

Commit b234fb3

Browse files
committed
Add notice about browser support.
1 parent 8969d8e commit b234fb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ With browserify, simply `require('assert')` or use the `assert` global and you w
1010

1111
The goal is to provide an API that is as functionally identical to the [Node.js `assert` API](https://nodejs.org/api/assert.html) as possible. Read the [official docs](https://nodejs.org/api/assert.html) for API documentation.
1212

13+
> `assert` supports modern browsers. In Internet Explorer, the `throws`/`rejects` family of methods require a Promise shim. For Internet Explorer 8-10 supports, the shim and sham versions of [es5-shim](https://github.com/es-shims/es5-shim) are also required.
14+
1315
## Install
1416

1517
To use this module directly (without browserify), install it as a dependency:

0 commit comments

Comments
 (0)