Q261. How do you make first letter of the string in an uppercase?
You can create a function which uses a chain of string methods such as charAt, toUpperCase and slice methods to generate a string with the first letter in uppercase. ```j...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (963 available).
You can create a function which uses a chain of string methods such as charAt, toUpperCase and slice methods to generate a string with the first letter in uppercase. ```j...
You need to pass initial state as second argument to createStore: ```javascript const rootReducer = combineReducers({ todos: todos, visibilityFilter: visibilityFilter, })...
The for-loop is a commonly used iteration syntax in javascript. It has both pros and cons #### Pros 1. Works on every environment 2. You can use break and continue flow c...
Relay is similar to Redux in that they both use a single store. The main difference is that relay only manages state originated from the server, and all access to the sta...
You can use `new Date()` to generate a new Date object containing the current date and time. For example, let's display the current date in mm/dd/yyyy ```javascript var t...
_Actions_ are plain JavaScript objects or payloads of information that send data from your application to your store. They are the only source of information for the stor...
You need to use date.getTime() method in order to compare unix timestamp values ```javascript var d1 = new Date(); var d2 = new Date(d1); console.log(d1.getTime() === d2....
**React** is a JavaScript library, supporting both front end web and being run on the server, for building user interfaces and web applications. **React Native** is a mob...
You can use ECMAScript 6's `String.prototype.startsWith()` method to check if a string starts with another string or not. But it is not yet supported in all browsers. Let...
React Native can be tested only in mobile simulators like iOS and Android. You can run the app in your mobile using expo app (https://expo.io) Where it syncs using QR cod...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.