|
38 | 38 | "Array.reduce|param|callbackfn": "A function that accepts up to three arguments. The reduce method calls the callbackfn function one time for each element in the array.", |
39 | 39 | "Array.reduce|param|initialValue": "Initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.", |
40 | 40 | "Array.removeAt": "Remove and return the element at a certain index.", |
41 | | - "Array.removeElement": "Remove the first occurence of an object. Returns true if removed.", |
| 41 | + "Array.removeElement": "Remove the first occurrence of an object. Returns true if removed.", |
42 | 42 | "Array.reverse": "Reverse the elements in an array. The first array element becomes the last, and the last array element becomes the first.", |
43 | 43 | "Array.set": "Store a value at a particular index", |
44 | 44 | "Array.set|param|index": "the zero-based position in the list to store the value, eg: 0", |
|
225 | 225 | "String.indexOf|param|start": "optional start index for the search", |
226 | 226 | "String.isEmpty": "Returns a value indicating if the string is empty", |
227 | 227 | "String.length": "Returns the length of a String object.", |
228 | | - "String.replace": "Return the current string with the first occurence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.", |
229 | | - "String.replaceAll": "Return the current string with each occurence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.", |
| 228 | + "String.replace": "Return the current string with the first occurrence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.", |
| 229 | + "String.replaceAll": "Return the current string with each occurrence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.", |
230 | 230 | "String.replaceAll|param|replacer": "either the string that replaces toReplace in the current string,", |
231 | 231 | "String.replaceAll|param|toReplace": "the substring to replace in the current string", |
232 | 232 | "String.replace|param|replacer": "either the string that replaces toReplace in the current string,", |
|
707 | 707 | "serial.delimiters": "Return the corresponding delimiter string", |
708 | 708 | "serial.onDataReceived": "Register an event to be fired when one of the delimiter is matched.", |
709 | 709 | "serial.onDataReceived|param|delimiters": "the characters to match received characters against.", |
710 | | - "serial.readBuffer": "Read multiple characters from the receive buffer. \nIf length is positive, pauses until enough characters are present.", |
| 710 | + "serial.readBuffer": "Read multiple characters from the receive buffer.\nIf length is positive, pauses until enough characters are present.", |
711 | 711 | "serial.readBuffer|param|length": "default buffer length", |
712 | 712 | "serial.readLine": "Read a line of text from the serial port.", |
713 | 713 | "serial.readString": "Read the buffered received data as a string", |
|
0 commit comments