CONTRIBUTING.md: Fix code block

This commit is contained in:
Rick Waldron 2018-09-12 14:54:31 -04:00 committed by GitHub
parent a2a3c47be5
commit 31ee9221b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,15 +83,17 @@ within the file.
For example: For example:
```
/*--- /*---
esid: sec-weakset.prototype.has esid: sec-weakset.prototype.has
description: Throws TypeError if `this` is not Object. description: Throws TypeError if `this` is not Object.
info: > info: |
WeakSet.prototype.has ( value ) WeakSet.prototype.has ( value )
1. Let S be the this value. 1. Let S be the this value.
2. If Type(S) is not Object, throw a TypeError exception. 2. If Type(S) is not Object, throw a TypeError exception.
---*/ ---*/
```
Note: Adding more context than the direct quote from ECMAScript should rarely Note: Adding more context than the direct quote from ECMAScript should rarely
be necessary. If you must add context to the quote, use the JavaScript be necessary. If you must add context to the quote, use the JavaScript