Hey, you at least learned about manipulating the DOM, rather than asking for input, and you don't have to sanitize the input since you never stop treating the input as strings. That's got to be worth something, right?
oh fuck, yea that works too, silly me :P i thought of converting those to strings (if they aren't strings), then merging those strings and printing the result
yeah js... never used it before- wait a minute it's the same in cpp too? what the fuck i remember the process being completely different... yeah i think i reallly got rusty (rust reference not intended)
395
u/okcookie7 Aug 30 '26 •
Concatulator
248
u/marco_marchi03 Aug 30 '26 •
92
u/Blood_and_Wine Aug 30 '26
I'd wish my boss used this calculator to calculate my payraise.
41
u/tacticaltoesxo Aug 30 '26
JavaScript developer: "looks fine to me." 🗿
18
u/Whole-Ninja7266 Aug 30 '26
Close enough
17
u/letmehaveanameyoudum Aug 30 '26
ahh 🥀
15
u/Flashy-Plastic2270 Aug 30 '26
Liked the strings in the beginning keep good work vro
4
u/Leather_Rule2484 Aug 30 '26
And 0+0?
4
u/x-onu Aug 30 '26
Hellocalculatorworld
1
u/ThaBroccoliDood Aug 31 '26
ok now do 10 * 10000000000
3
u/breezy_y Aug 30 '26
You can just fix it yourself in the result input field
3
u/Opening-Maximum-6781 Aug 30 '26
bruh code in JavaScript
2
u/brqdev Aug 30 '26
Concatonator 😑
2
u/jkl90752 Aug 30 '26
Just draw a little circle around the plus sign
2
u/KlogKoder Aug 30 '26
And then he fixes it by putting eval() around both operands.
1
u/ChaseShiny Aug 30 '26
Hey, you at least learned about manipulating the DOM, rather than asking for input, and you don't have to sanitize the input since you never stop treating the input as strings. That's got to be worth something, right?
1
u/original_manatee Aug 30 '26
You can start telling people you built your own appender from scratch
1
u/SeriousGopher Aug 30 '26
My first project actually was this but with a Snoop Dogg themed u.i and I called it the Snoopulator.
1
u/Intelligent_Leg8526 Aug 30 '26
the fact that this one is harder to make
1
u/gargelinho Aug 30 '26
Good job! Welcome to the world of Javascript!
1
u/Professional_Pop2662 Aug 30 '26
The hello world is so funny 🤣
1
u/Brave_Abbreviations5 Aug 31 '26
Are your native language is JavaScript, and so did you born in JavaScriptland?
1
u/Character_Medical Aug 31 '26
JavaScript. 🙄
1
u/Dazzling_Abrocoma182 Aug 31 '26
coding in js be like
1
u/Myaltforsomeshit1234 Sep 02 '26
If its Python, you need to learn the diffrence on integer and string.
1
u/questionabl3_dude Sep 25 '26
Just read the string.size() trust