---
title: "Discussion on \"3 String Based Javascript Interview Question\" | Hashnode"
description: "Discussion on \"3 String Based Javascript Interview Question\". // REVERSE THE GIVEN STRING AND CHECK WEATHER IT IS PLAINDROME\nconst checkPlaindrome = (str) => {\n    return str === str.split('').reverse().join('')\n}\n\nconsole.log(checkPlaindrome('WOW'))\n\n\n\n// FIND THE LONGETS WORD IN SENTENCE\n\nconst finLongestWord..."
url: "https://hashnode.com/posts/3-string-based-javascript-interview-question/663a351183c35c8647b5b51b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [3 String Based Javascript Interview Question](https://developernick1.hashnode.dev/3-string-based-javascript-interview-question?utm_source=hashnode&utm_medium=feed)

// REVERSE THE GIVEN STRING AND CHECK WEATHER IT IS PLAINDROME const checkPlaindrome = (str) => { return str === str.split('').reverse().join('') } console.log(checkPlaindrome('WOW')) // FIND THE LONGETS WORD IN SENTENCE const finLongestWord...

May 7, 2024 · 1 min read · developernick1.hashnode.dev  
Read the article

-   [#js-strings](https://hashnode.com/tag/js-strings)
-   [#interview](https://hashnode.com/tag/interview)

## Written by

[Developer Nick](https://hashnode.com/@developernick)

@developernick

  
[View profile](https://hashnode.com/@developernick)

react native developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
