Title: calculator: add sign-toggle (±) key with test coverage · Issue #80 · icomdev/Vanilla-JavaScript-Calculator · GitHub
Open Graph Title: calculator: add sign-toggle (±) key with test coverage · Issue #80 · icomdev/Vanilla-JavaScript-Calculator
X Title: calculator: add sign-toggle (±) key with test coverage · Issue #80 · icomdev/Vanilla-JavaScript-Calculator
Description: Add a ± key (button id sign-toggle, also bound to keyboard s) that toggles the sign of the current entry (and of the last result when no entry is typed). Include focused tests for: entry present, no entry after = (last result), empty sta...
Open Graph Description: Add a ± key (button id sign-toggle, also bound to keyboard s) that toggles the sign of the current entry (and of the last result when no entry is typed). Include focused tests for: entry present, n...
X Description: Add a ± key (button id sign-toggle, also bound to keyboard s) that toggles the sign of the current entry (and of the last result when no entry is typed). Include focused tests for: entry present, n...
Opengraph URL: https://github.com/icomdev/Vanilla-JavaScript-Calculator/issues/80
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"calculator: add sign-toggle (±) key with test coverage","articleBody":"Add a ± key (button id `sign-toggle`, also bound to keyboard `s`) that toggles the sign of the current entry (and of the last result when no entry is typed). Include focused tests for: entry present, no entry after `=` (last result), empty state (0 stays 0), and mid-expression behavior. Keep the README key table in sync.","author":{"url":"https://github.com/klh","@type":"Person","name":"klh"},"datePublished":"2026-11-16T21:51:52Z","url":"https://github.com/icomdev/Vanilla-JavaScript-Calculator/issues/80"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1712080c-3d79-55b8-42a5-9e1cc320570a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9046:2D40DE:B39637:E3A24B:6B0131CF |
| html-safe-nonce | 4be3129ad11945727124c44af737d63fb567bce0c5972c487527b9dd55407dfa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDQ2OjJENDBERTpCMzk2Mzc6RTNBMjRCOjZCMDEzMUNGIiwidmlzaXRvcl9pZCI6IjI4ODk4MTQ4NjIyNDkxNDQ3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 06126359f9ff3232d560fd3b9b81fcc342f85ee62c0c2f3f62623f2f6a35d29c |
| hovercard-subject-tag | issue:6431594388 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/icomdev/Vanilla-JavaScript-Calculator/80/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27d5c1ed076af98ddac85bb25adf86402180442bde0fbd34d522b544a946da12/icomdev/Vanilla-JavaScript-Calculator/issues/80 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27d5c1ed076af98ddac85bb25adf86402180442bde0fbd34d522b544a946da12/icomdev/Vanilla-JavaScript-Calculator/issues/80 |
| og:image:alt | Add a ± key (button id sign-toggle, also bound to keyboard s) that toggles the sign of the current entry (and of the last result when no entry is typed). Include focused tests for: entry present, n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | klh |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/icomdev/Vanilla-JavaScript-Calculator git https://github.com/icomdev/Vanilla-JavaScript-Calculator.git |
| octolytics-dimension-user_id | 29274164 |
| octolytics-dimension-user_login | icomdev |
| octolytics-dimension-repository_id | 1459781895 |
| octolytics-dimension-repository_nwo | icomdev/Vanilla-JavaScript-Calculator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 180275595 |
| octolytics-dimension-repository_parent_nwo | WebDevSimplified/Vanilla-JavaScript-Calculator |
| octolytics-dimension-repository_network_root_id | 180275595 |
| octolytics-dimension-repository_network_root_nwo | WebDevSimplified/Vanilla-JavaScript-Calculator |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width