Skip to content

Commit

Permalink
upd. wording for arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Feb 21, 2021
1 parent f37c83e commit 47ef1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion how-to/eventListeners.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WebExtensions can react on events by attaching a listener. Consider the :ref:`me
messenger.menus.onClicked.addListener(menuListener);
Using a more modern syntax:
Alternative implementation using an anonymous arrow function:

.. code-block:: javascript
Expand Down

0 comments on commit 47ef1a8

Please sign in to comment.