René's URL Explorer Experiment


Title: Convert prompt inputs to numbers with unary plus by Lk-ux · Pull Request #3977 · javascript-tutorial/en.javascript.info · GitHub

Open Graph Title: Convert prompt inputs to numbers with unary plus by Lk-ux · Pull Request #3977 · javascript-tutorial/en.javascript.info

X Title: Convert prompt inputs to numbers with unary plus by Lk-ux · Pull Request #3977 · javascript-tutorial/en.javascript.info

Description: The task description says the function should take natural numbers only, but prompt() returns String, which we pass to pow(). It accidentally works because we use *= operator which performs implicit conversion. But it is best to convert explicitly to improve code readability and align better with the task requirement.

Open Graph Description: The task description says the function should take natural numbers only, but prompt() returns String, which we pass to pow(). It accidentally works because we use *= operator which performs implici...

X Description: The task description says the function should take natural numbers only, but prompt() returns String, which we pass to pow(). It accidentally works because we use *= operator which performs implici...

Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/pull/3977

X: @github

direct link

Domain: www.github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8a915af0-c06b-4efd-0cb8-f3f86ca66682
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA46A:1F85D0:3910CB:50B776:6A59F8EE
html-safe-nonce46da4c7ff53f8dcf1ddbcdf80a6a873023dcf7b1bd19b48d97624ae6aec8a0c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDZBOjFGODVEMDozOTEwQ0I6NTBCNzc2OjZBNTlGOEVFIiwidmlzaXRvcl9pZCI6IjU4OTIwMjA1ODU4MDc2MDgwNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaf71d93c48d5b840c06d5566d03c5e85d90b8c980f05049df7777894d02cbd93
hovercard-subject-tagpull_request:3990215006
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/javascript-tutorial/en.javascript.info/pull/3977/files
twitter:imagehttps://avatars.githubusercontent.com/u/174747728?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/174747728?s=400&v=4
og:image:altThe task description says the function should take natural numbers only, but prompt() returns String, which we pass to pow(). It accidentally works because we use *= operator which performs implici...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/javascript-tutorial/en.javascript.info git https://github.com/javascript-tutorial/en.javascript.info.git
octolytics-dimension-user_id49552305
octolytics-dimension-user_loginjavascript-tutorial
octolytics-dimension-repository_id93253246
octolytics-dimension-repository_nwojavascript-tutorial/en.javascript.info
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93253246
octolytics-dimension-repository_network_root_nwojavascript-tutorial/en.javascript.info
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release24801cf86623a319252348d1fd69122ad974b842
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files#start-of-content
https://www.github.com/
Sign in https://www.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fpull%2F3977%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://www.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fpull%2F3977%2Ffiles
Sign up https://www.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=javascript-tutorial%2Fen.javascript.info
Reloadhttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Reloadhttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Reloadhttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Please reload this pagehttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
javascript-tutorial https://www.github.com/javascript-tutorial
en.javascript.infohttps://www.github.com/javascript-tutorial/en.javascript.info
Notifications https://www.github.com/login?return_to=%2Fjavascript-tutorial%2Fen.javascript.info
Fork 4k https://www.github.com/login?return_to=%2Fjavascript-tutorial%2Fen.javascript.info
Star 25.4k https://www.github.com/login?return_to=%2Fjavascript-tutorial%2Fen.javascript.info
Code https://www.github.com/javascript-tutorial/en.javascript.info
Issues 247 https://www.github.com/javascript-tutorial/en.javascript.info/issues
Pull requests 288 https://www.github.com/javascript-tutorial/en.javascript.info/pulls
Discussions https://www.github.com/javascript-tutorial/en.javascript.info/discussions
Actions https://www.github.com/javascript-tutorial/en.javascript.info/actions
Security and quality 0 https://www.github.com/javascript-tutorial/en.javascript.info/security
Insights https://www.github.com/javascript-tutorial/en.javascript.info/pulse
Code https://www.github.com/javascript-tutorial/en.javascript.info
Issues https://www.github.com/javascript-tutorial/en.javascript.info/issues
Pull requests https://www.github.com/javascript-tutorial/en.javascript.info/pulls
Discussions https://www.github.com/javascript-tutorial/en.javascript.info/discussions
Actions https://www.github.com/javascript-tutorial/en.javascript.info/actions
Security and quality https://www.github.com/javascript-tutorial/en.javascript.info/security
Insights https://www.github.com/javascript-tutorial/en.javascript.info/pulse
Sign up for GitHub https://www.github.com/signup?return_to=%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://www.github.com/login?return_to=%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
Lk-uxhttps://www.github.com/Lk-ux
javascript-tutorial:masterhttps://www.github.com/javascript-tutorial/en.javascript.info/tree/master
Lk-ux:patch-3https://www.github.com/Lk-ux/en.javascript.info/tree/patch-3
Conversation 0 https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977
Commits 1 https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/commits
Checks 0 https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/checks
Files changed https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Please reload this pagehttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Convert prompt inputs to numbers with unary plus https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files#top
Show all changes 1 commit https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
a197375 Convert prompt inputs to numbers with unary plus Lk-ux Jul 4, 2026 https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/commits/a1973755263c0c14e1503090a9fcc963fcd2b69f
Clear filters https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Please reload this pagehttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
Please reload this pagehttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files
1-js/02-first-steps/15-function-basics/4-pow/solution.mdhttps://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files#diff-af9835802d902a5ab01af91cc06c98d04dbfd8550b2727b92905ac3fd0c369d1
View file https://www.github.com/javascript-tutorial/en.javascript.info/blob/a1973755263c0c14e1503090a9fcc963fcd2b69f/1-js/02-first-steps/15-function-basics/4-pow/solution.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/{{ revealButtonHref }}
https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files#diff-af9835802d902a5ab01af91cc06c98d04dbfd8550b2727b92905ac3fd0c369d1
https://www.github.com/javascript-tutorial/en.javascript.info/pull/3977/files#diff-af9835802d902a5ab01af91cc06c98d04dbfd8550b2727b92905ac3fd0c369d1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.