office-scripts-docs
office-scripts-docs copied to clipboard
Small typo in description of specific definition of `String.prototype.replace()`
Article URL Couldn't find a reference in the online docs - it's proably a typo outside your scope or comming from the fork OfficeScript originated from.
Describe the problem In the description of the function for the first parameter it reads "A object can [...]" when it should read "An object that can [...]"
Screenshots
My local Excel version (in case it's needed)
Where I found the typo
Same description fixed in my TypeScript description of the function (es2015)
Funny bit - It's still wrong (but for another definition of the function) in the same Typescript docs
- First one is the same function as the one reported here
- Second one is the other definition of the function that still has the typo