mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-10-11 09:12:32 +02:00
Documentation: update and cleanup (#3934)
* Developers Docs editing * Logo underline removed The underline has been removed when hovering over the logo. * proofread docs * application -> app in several files --------- Co-authored-by: knrn64 <25254561+knrn64@users.noreply.github.com> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ badusb.hold("CTRL", "v"); // Press and hold CTRL + "v" combo
|
||||
```
|
||||
|
||||
## release
|
||||
Release a previously hold key.
|
||||
Release a previously held key.
|
||||
|
||||
### Parameters
|
||||
Same as `press`
|
||||
|
@@ -1,13 +1,13 @@
|
||||
# Data types {#js_data_types}
|
||||
|
||||
Here is a list of common data types used by mJS.
|
||||
- string - sequence of single byte characters, no UTF8 support
|
||||
- string — sequence of single byte characters, no UTF8 support
|
||||
- number
|
||||
- boolean
|
||||
- foreign - C function or data pointer
|
||||
- foreign — C function or data pointer
|
||||
- undefined
|
||||
- null
|
||||
- object - a data structure with named fields
|
||||
- array - special type of object, all items have indexes and equal types
|
||||
- ArrayBuffer - raw data buffer
|
||||
- DataView - provides interface for accessing ArrayBuffer contents
|
||||
- object — a data structure with named fields
|
||||
- array — special type of object, all items have indexes and equal types
|
||||
- ArrayBuffer — raw data buffer
|
||||
- DataView — provides interface for accessing ArrayBuffer contents
|
||||
|
@@ -290,7 +290,7 @@ math.pow(2, 10); // 1024
|
||||
```
|
||||
|
||||
## random
|
||||
Return a floating-point, pseudo-random number that's greater than or equal to 0 and less than 1, with approximately uniform distribution over that range - which you can then scale to your desired range.
|
||||
Return a floating-point, pseudo-random number that's greater than or equal to 0 and less than 1, with approximately uniform distribution over that range — which you can then scale to your desired range.
|
||||
|
||||
### Returns
|
||||
A floating-point, pseudo-random number between 0 (inclusive) and 1 (exclusive).
|
||||
|
Reference in New Issue
Block a user