porffor 0.14.0-bd4ccfc7d → 0.14.0-c6f2015a7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +1 -0
- package/package.json +1 -1
package/CONTRIBUTING.md
CHANGED
@@ -205,6 +205,7 @@ Store the character code into the `out` pointer variable, and increment it.
|
|
205
205
|
- Do not set a return type for prototype methods, it can cause errors/unexpected results.
|
206
206
|
- You cannot use other functions in the file not exported, or variables not inside the current function.
|
207
207
|
- `if (...)` uses a fast truthy implementation which is not spec-compliant as most conditions should be strictly checked. To use spec-compliant behavior, use `if (Boolean(...))`.
|
208
|
+
- For object (string/array/etc) literals, you must use a variable eg `const out: bytestring = 'foobar'; console.log(out);` instead of `console.log('foobar')` due to precompile's allocator constraints.
|
208
209
|
|
209
210
|
<br>
|
210
211
|
|
package/package.json
CHANGED