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:
Ruslan Nadyrshin
2024-10-08 15:27:16 +04:00
committed by GitHub
parent 0eaad8bf64
commit 41c35cd59e
33 changed files with 247 additions and 228 deletions

View File

@@ -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`

View File

@@ -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

View File

@@ -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).