Skip to content

Commit

Permalink
Remove broken example from the embedded documentation of function `fo…
Browse files Browse the repository at this point in the history
…rEach`
  • Loading branch information
josdejong committed Jan 12, 2022
1 parent 1d2ae13 commit a4d5993
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# not yet published, version 10.0.3

- Fix #2379: add documentation for function `print` in function `help`.
- Fix #2379: add embedded documentation for function `print`.
- Remove broken example from the embedded documentation of function `forEach`.


# 2021-12-29, version 10.0.2
Expand Down
4 changes: 1 addition & 3 deletions src/expression/embeddedDocs/function/matrix/forEach.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ export const forEachDocs = {
'forEach(x, callback)'
],
description: 'Iterates over all elements of a matrix/array, and executes the given callback function.',
examples: [
'forEach([1, 2, 3], function(val) { console.log(val) })'
],
examples: [],
seealso: ['map', 'sort', 'filter']
}

0 comments on commit a4d5993

Please sign in to comment.