mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 23:14:47 +02:00
Merge pull request #1735 from tc39/contributing-fix-code-block
CONTRIBUTING.md: Fix code block
This commit is contained in:
commit
6cd3c4fba6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user