Title: Line 19 is missing .toString() · Issue #22 · WebDevSimplified/Vanilla-JavaScript-Calculator · GitHub
Open Graph Title: Line 19 is missing .toString() · Issue #22 · WebDevSimplified/Vanilla-JavaScript-Calculator
X Title: Line 19 is missing .toString() · Issue #22 · WebDevSimplified/Vanilla-JavaScript-Calculator
Description: `if (number === '.' && this.currentOperand.includes('.')) return` should be if (number === '.' && this.currentOperand.toString().includes('.')) return otherwise, appending a dot is not possible after a equalsButton compute()
Open Graph Description: `if (number === '.' && this.currentOperand.includes('.')) return` should be if (number === '.' && this.currentOperand.toString().includes('.')) return otherwise, appending a dot is not possible aft...
X Description: `if (number === '.' && this.currentOperand.includes('.')) return` should be if (number === '.' && this.currentOperand.toString().includes('.')) retur...
Opengraph URL: https://github.com/WebDevSimplified/Vanilla-JavaScript-Calculator/issues/22
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Line 19 is missing .toString()","articleBody":" `if (number === '.' && this.currentOperand.includes('.')) return` \r\nshould be \r\n `if (number === '.' && this.currentOperand.toString().includes('.')) return`\r\n\r\notherwise, appending a dot is not possible after a equalsButton compute()","author":{"url":"https://github.com/kyyeo","@type":"Person","name":"kyyeo"},"datePublished":"2021-11-09T08:23:30Z","url":"https://github.com/WebDevSimplified/Vanilla-JavaScript-Calculator/issues/22"}
| 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:d7b6f49d-150a-e465-37b1-224f66083ba4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 907A:1F8F:43E98C:589AE1:6B011442 |
| html-safe-nonce | f7fcfd6f7c5a03c3048b720bcea4ef3c51ba0c8bd1975d070599538ecbad29dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDdBOjFGOEY6NDNFOThDOjU4OUFFMTo2QjAxMTQ0MiIsInZpc2l0b3JfaWQiOiI2OTc5MDc0MjI3MTYwODE0NjU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4b512b28a10e9b28e5b0a53b89bb21d65eec59a597e4bbbd301bc1ad45256865 |
| hovercard-subject-tag | issue:1048316819 |
| 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/WebDevSimplified/Vanilla-JavaScript-Calculator/22/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d6b9019b9e0a238ff509decf0696f3421e1ee2edd45cbc7c05a1c3c811c6aa98/WebDevSimplified/Vanilla-JavaScript-Calculator/issues/22 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d6b9019b9e0a238ff509decf0696f3421e1ee2edd45cbc7c05a1c3c811c6aa98/WebDevSimplified/Vanilla-JavaScript-Calculator/issues/22 |
| og:image:alt | `if (number === '.' && this.currentOperand.includes('.')) return` should be if (number === '.' && this.currentOperand.toString().includes('.')) return otherwise, appending a dot is not possible aft... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kyyeo |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/WebDevSimplified/Vanilla-JavaScript-Calculator git https://github.com/WebDevSimplified/Vanilla-JavaScript-Calculator.git |
| octolytics-dimension-user_id | 39717099 |
| octolytics-dimension-user_login | WebDevSimplified |
| octolytics-dimension-repository_id | 180275595 |
| octolytics-dimension-repository_nwo | WebDevSimplified/Vanilla-JavaScript-Calculator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width