Search Results for: javascript
Unique characters in a String in JavaScript | Assignment Expert
Problem Statement: We are given a string, we need to convert that string to an array, array should contain all characters of the string as…
Double the numbers in JavaScript | Assignment Expert
Problem Statement: We are given an array consisting of different data types in JavaScript. We need to create a new array that contains the datatypes…
Squares of array items in JavaScript | Assignment Expert
Problem Statement: We are given an array containing numbers and arrays of numbers. We need to create a new array by converting all numbers to…
Array of strings to uppercase in JavaScript | Assignment Expert
Problem Statement: We are given an array of strings, we need to convert all the strings of an array to the Upper Case and at…
Series of operations in JavaScript
Problem Statement: In this problem, we are given an array. We need to perform some specific operations on every element of the array.Multiply by 10Subtract…
Split and Replace in JavaScript
Problem Statement: In this problem of Split and Replace in JavaScript, we are given 3 strings namely, inputString, replaceString, and a separator. We need to…
Find the first value in JavaScript
Problem Statement: In, find the first value in JavaScript, we are given an array of numbers, we need to find the smallest number from the…
Time Converter in JavaScript
Problem Statement: In Time Converter in JavaScript, we are given the number of hours and number of seconds, we need to convert hours and minutes…
String Slicing in JavaScript
Problem Statement: In String Slicing in JavaScript, we are given two strings, namely=> inputString and subString. We need to find the slice of inputString in…
I Love You code in JavaScript language
Here is the code for I Love You in JavaScript- Code for the console- So, What if we were to write Hello World! in coding…