<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/output-please--jw2ayheii" -->

---
title: Output please... | daily.dev
description: A short quiz asking readers to predict the output of several JavaScript console.log statements involving string and number concatenation with the plus and...
canonical: https://daily.dev/posts/output-please--jw2ayheii
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Output please... | daily.dev
og:description: A short quiz asking readers to predict the output of several JavaScript console.log statements involving string and number concatenation with the plus and...
og:url: https://daily.dev/posts/output-please--jw2ayheii
og:image: https://api.daily.dev/og/posts/JW2aYHEIi.png
og:image:alt: Output please...
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Output please...

**[navya](https://daily.dev/sources/dlrmprw88mjnbukqs8t0w)** · [@navyaak](https://daily.dev/navyaak) · 1 min read · 0 upvotes · 0 comments

## Summary

A short quiz asking readers to predict the output of several JavaScript console.log statements involving string and number concatenation with the plus and minus operators, testing understanding of type coercion.

## Content

Q1 : console.log(1 + "2" + 3);

Q2 : console.log(1 + 2 + "3");

Q3 : console.log("5" + 2);

Q4 : console.log("5" - 2);

Say your answers in the comment section

## Similar posts on daily.dev

- [JS Crossword](https://daily.dev/posts/js-crossword-xswjlnobh) · Lobsters · 10 upvotes · 2 comments
- [Magic 8 Ball : Frontend Coding Exercises](https://daily.dev/posts/magic-8-ball-frontend-coding-exercises-pkn4znreh) · Kirupa · 41 upvotes · 3 comments
- [JavaScript: Simple Demo](https://daily.dev/posts/javascript-simple-demo-m5tpqbvod) · Medium · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/output-please--jw2ayheii)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/output-please--jw2ayheii","headline":"Output please...","text":"A short quiz asking readers to predict the output of several JavaScript console.log statements involving string and number concatenation with the plus and minus operators, testing understanding of type coercion.","url":"https://daily.dev/posts/output-please--jw2ayheii","datePublished":"2026-09-08T07:29:52.382Z","dateModified":"2026-09-13T21:09:59.712Z","author":{"@type":"Person","name":"navya","url":"https://daily.dev/navyaak","image":"https://media.daily.dev/image/upload/s--vM6dTj_h--/f_auto/v1788852968/avatars/avatar_DLRmpRw88MjNBUKqs8T0W?_a=BAMAMicg0","description":"Software Engineer","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":420}},"image":"https://media.daily.dev/image/upload/s--F6-2Jtxq--/f_auto/v1788852592/posts/JW2aYHEIi?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/dlrmprw88mjnbukqs8t0w","name":"navya"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"navya","item":"https://daily.dev/sources/dlrmprw88mjnbukqs8t0w"},{"@type":"ListItem","position":3,"name":"Output please..."}]}
```

