mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
Spreadsheet: Add missing examples
This commit is contained in:
parent
5f80d8245d
commit
a59010bd97
Notes:
sideshowbarker
2024-07-18 03:30:50 +09:00
Author: https://github.com/monroeclinton 🔰 Commit: https://github.com/SerenityOS/serenity/commit/a59010bd97c Pull-request: https://github.com/SerenityOS/serenity/pull/10171 Reviewed-by: https://github.com/alimpfard
@ -385,7 +385,11 @@ now.__documentation = JSON.stringify({
|
||||
argc: 0,
|
||||
argnames: [],
|
||||
doc: "Returns a Date instance for the current moment",
|
||||
examples: {},
|
||||
examples: {
|
||||
"now().toString()":
|
||||
"Returns a string containing the current date. Ex: 'Tue Sep 21 2021 02:38:10 GMT+0000 (UTC)'",
|
||||
"now().getFullYear()": "Returns the current year. Ex: 2021",
|
||||
},
|
||||
});
|
||||
|
||||
repeat.__documentation = JSON.stringify({
|
||||
@ -403,7 +407,9 @@ randRange.__documentation = JSON.stringify({
|
||||
argc: 2,
|
||||
argnames: ["start", "end"],
|
||||
doc: "Returns a random number in the range (`start`, `end`)",
|
||||
examples: {},
|
||||
examples: {
|
||||
"randRange(0, 10)": "Returns a number from 0 through 10. Ex: 5.185799582250052",
|
||||
},
|
||||
});
|
||||
|
||||
integer.__documentation = JSON.stringify({
|
||||
@ -649,7 +655,9 @@ row.__documentation = JSON.stringify({
|
||||
argc: 0,
|
||||
argnames: [],
|
||||
doc: "Returns the row number of the current cell",
|
||||
examples: {},
|
||||
examples: {
|
||||
"row()": "Evaluates to 6 if placed in A6",
|
||||
},
|
||||
});
|
||||
|
||||
column.__documentation = JSON.stringify({
|
||||
@ -657,7 +665,9 @@ column.__documentation = JSON.stringify({
|
||||
argc: 0,
|
||||
argnames: [],
|
||||
doc: "Returns the column name of the current cell",
|
||||
examples: {},
|
||||
examples: {
|
||||
"column()": "Evaluates to A if placed in A6",
|
||||
},
|
||||
});
|
||||
|
||||
here.__documentation = JSON.stringify({
|
||||
|
Loading…
Reference in New Issue
Block a user