From 1ec80ac2e913b6a7a91108888139d2d4a7eaece9 Mon Sep 17 00:00:00 2001 From: "Alex Cuciureanu (swappie)" <12533821+acuciureanu@users.noreply.github.com> Date: Fri, 19 Jan 2024 07:28:18 +0200 Subject: [PATCH] Update README.md Signed-off-by: Alex Cuciureanu (swappie) <12533821+acuciureanu@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f9ddfc..471d42c 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ String.prototype.$initialize.call(alert(document.domain)) For more special cases, such as getting results where the function names have names like: `String.prototype.$<=>`, `String.prototype.$==`, `String.prototype.$eql?` and so on. You can do it like this: ```javascript -String.prototype['$<=>'].call(alert(1)) +String.prototype['$<=>'].call(alert(document.domain)) ```