💡 JavaScript Interview Preparation Simplified

If you are a beginner or, a new learner and going to appear (or already appearing) for an interview, this 🧵 is for you.

I am getting many DM requests from students about preparing for JS interviews. So I thought of coming up with a series which may help who needs it.

This is going to be a series of threads and, this one is the very first in this series.
What is expected from you in an Interview?

1️⃣ Good behaviour
2️⃣ Knowledge of Syntax
3️⃣ Knowledge of Key Features and where to apply
4️⃣ Integration with other technologies in the stack
5️⃣ Usage of a framework
6️⃣ Analytical Ability

In this thread, we will cover 2️⃣ & 3️⃣
✪ Syntax

1️⃣ Variable Naming & Declaration
2️⃣ Data Types
3️⃣ Expression, Statement & Block
4️⃣ Operators
5️⃣ Conditional Statements
6️⃣ Looping Statements
7️⃣ Functions
8️⃣ Strings
9️⃣ Arrays
1️⃣0️⃣ Object Literals
1️⃣1️⃣ Asynchronous
1️⃣2️⃣ OOP
✪ Language Feature

1️⃣ Variable Naming & Declaration

✪ Usage of var, let, const
✪ Naming Rule
✪ Default value

2️⃣ Data Types

✪ Several Types in JS
✪ Type Coercion
✪ typeof, instanceof
✪ undefined, null
✪ NaN, Infinity
✪ How JS stores numbers?
3️⃣ Expression, Statement & Block

✪ Variable Scope
✪ Variable Hoisting
✪ Keywords

4️⃣ Operators

✪ Arithmetic, Comparison Operators
✪ Short Circuit (&& and ||)
✪ Nullish Coalescing (??)
✪ Optional Chaining (?.)
✪ Ternary (?:)
✪ Operator Precedence
5️⃣ Conditional Statements

✪ if
✪ if...else
✪ if...else if...
✪ switch case

6️⃣ Looping Statements

✪ while
✪ do...while
✪ for
7️⃣ Functions

✪ Declaration & Invocation
✪ Function Parameter vs Arguments
✪ Default Function Parameters
✪ Using "arguments" object inside function body
✪ Arrow Function
✪ Callback Function
✪ Higher Order Function
✪ Closure
8️⃣ Strings

✪ How String operates
✪ Creating a String
✪ Getting a character and its code
✪ Getting a substring
✪ String concatenation
✪ String Template Literal (``)
✪ String's utility methods
✪ Using RegEx
9️⃣ Arrays

✪ Creating an Array
✪ array.length
✪ Finding elements/index of element
✪ Looping through array (HOFs, for...of loop)
✪ Inserting/Deleting Element(s)
✪ slice vs splice
✪ Spread vs Rest
✪ Destructuring Assignment
1️⃣0️⃣ Object Literals

✪ Creating Object through literals
✪ JSON vs Object Literals
✪ Getting Keys, Values
✪ Looping through Object entries (for...in)
✪ Spread vs Rest
✪ Destructuring Assignment
1️⃣1️⃣ Asynchronous

✪ setTimeout, setInterval, requestAnimationFrame
✪ Callback Functions
✪ Promise API
✪ asynch await
1️⃣2️⃣ OOP

✪ new operator
✪ Constructor function and Object creation
✪ getter and setter
✪ Class
✪ use of this
✪ prototype object
✪ Object Inheritance in JS
✪ Utility methods of Object class
1️⃣2️⃣ Others

✪ Set class
✪ Map class
✪ Date class
✪ Utility Math functions
✪ Iterator
✪ Generator
That's it for this thread. I hope you found it useful.

Feel free to DM me in case you have any doubt regarding interview process, preparation etc. I ll be glad to help you there.

Till next thread in this series, have a good time. Happy hunting. 👋
Along with JS, some database knowledge is mandatory whether you are staying in FE or BE.

Check 👇 for knowledge on both SQL and NoSQL databases.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Swapna Kumar Panda ✨

Swapna Kumar Panda ✨ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @swapnakpanda

28 Oct
🛢SQL and NoSQL Database

👉 What are these?
👉 Key Differences
👉 How to choose between them?

🧵 👇
1️⃣ What is a Database?

A database is an organised collection of data stored in a computer system (typically a server machine, but can be any machine) so that it can be accessed and managed easily.
✪ Initially each database had a separate way of data management. The way one database was storing and managing data may vary from another.

✪ But with time this practice got normalised. The "Relational Database" design came into picture.
Read 21 tweets
27 Oct
JavaScript CookBook: 7️⃣ Recipes for this Week

Recipes

1️⃣ Complex String Formation
2️⃣ String Conversions
3️⃣ Default Value Assign
4️⃣ Default Function Parameters
5️⃣ Checking properties of a possibly Nullish Object
6️⃣ Fetching Values from an Object
7️⃣ Function Argument List
Recipe 1️⃣

✪ What to Cook?
Complex String Formation

✪ Ingredient
`` (String Template Literal)

✪ Cooking Process
You were cooking like this (tedious):

→ 'Hello ' + fName + ' ' + lName

Instead cook like this:

→`Hello ${fName} ${lName}'
Read 10 tweets
26 Oct
🔥 Resources to learn Data Structures and Algorithms

1️⃣ Twitter Threads

I post almost regular threads on DSA. Check out those 👇
twitter.com/i/events/14502…
2️⃣ Blogs/Articles

1️⃣ Swapna's blog is coming soon. It will include from simple to complex topics on DSA. It will also help you getting through how to approach for solving the problem. It should be your one-stop to get familiar with DSA.

Some more to look for 👇
Read 9 tweets
26 Oct
Linked List: Frequently used Operations

🔥 Interview Questions with Beginner Friendly Explanations and Pseudo Code 🔥

👇
0️⃣ Basics

✪ What is a Linked List?

• a LINEAR data structure
• its elements may not be in contiguous memory location
• each element has a reference to its next element

✪ What is an element in a Linked List popularly called?
A Node.

++
✪ What is the structure of a Node in Linked List?

A node has 2 parts.

• First one contains the value
• Second one contains the reference (or, pointer) to the next node. For the last node this is NULL as it doesn't point to any other node.

++
Read 20 tweets
25 Oct
Data Structures and Algorithms (DSA)

🔥 Frequently Asked Interview Questions 🔥

I am soon going to start my blog. All the questions featured here will be answered in detail over there. I will post answers for some of these in Twitter platform as well. Questions will be added with time. Stay tuned.

Now, let's go through the questions.

1️⃣ Basics

✪ What is an algorithm?
✪ What is time complexity?
✪ What is space complexity?
✪ What is a Data Structure?
✪ What are types of Data Structures? (Linear/Non-linear)
✪ What are different operations that can be performed on different data structures?
Read 14 tweets
23 Oct
Tree, Binary Tree and Binary Search Tree

Know the difference. 👇
0️⃣ Introduction to a Tree

✪ A Tree is a data structure where each element is called as a "Node".

✪ Unlike a Linked List, a Node in a Tree can point many (child) nodes.

✪ The first node from which traversal begins is called the Root Node.

++
✪ Each child node can be root of a separate tree. Each such trees are known as "Subtrees" of a given node.

✪ The number of parents, a node can have is called its "In-Degree" and it is always 1.

✪ The number of children, a node can have is called its "Out-Degree".
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(