From f0bb6099668f54ae6f444126b90dbb1146248146 Mon Sep 17 00:00:00 2001 From: Pranjal Jain <24854511+yellowjacketcoder@users.noreply.github.com> Date: Fri, 3 Jun 2022 16:49:57 +0530 Subject: [PATCH] docs: Update Exponentiation operator MDN link (#15960) * docs: Update Exponentiation opearator MDN link * docs: Update Exponentiation operator MDN link --- docs/src/_data/further_reading_links.json | 7 +++++++ docs/src/rules/prefer-exponentiation-operator.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/src/_data/further_reading_links.json b/docs/src/_data/further_reading_links.json index da747fe729f..1ace5fff6e2 100644 --- a/docs/src/_data/further_reading_links.json +++ b/docs/src/_data/further_reading_links.json @@ -684,5 +684,12 @@ "logo": "//thomas.tuerke.net/images/tmtlogo.ico", "title": "Coding in Style", "description": "Thomas M. Tuerke topical weblog" + }, + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation": { + "domain": "developer.mozilla.org", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation", + "logo": "https://developer.mozilla.org/favicon-48x48.cbbd161b.png", + "title": "Exponentiation (**) - JavaScript | MDN", + "description": "The exponentiation operator (**) returns the result of raising the first operand to the power of the second operand. It is equivalent to Math.pow, except it also accepts BigInts as operands." } } diff --git a/docs/src/rules/prefer-exponentiation-operator.md b/docs/src/rules/prefer-exponentiation-operator.md index 08759f14fbe..591a60e89c9 100644 --- a/docs/src/rules/prefer-exponentiation-operator.md +++ b/docs/src/rules/prefer-exponentiation-operator.md @@ -4,7 +4,7 @@ layout: doc edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-exponentiation-operator.md rule_type: suggestion further_reading: -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Exponentiation +- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation - https://bugs.chromium.org/p/v8/issues/detail?id=5848 ---