Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

uppercase and lowercase letters in js

str.toLowerCase()
str.toUpperCase()
Comment

lowercase to uppercase in javascript

function changeToUpperCase(founder) {
  return founder.toUpperCase();
}

// calling the function 
const result = changeToUpperCase("Quincy Larson");

// printing the result to the console
console.log(result);

// Output: QUINCY LARSON
Comment

javascript function uppercase to lowercase

let myGreeting = 'Hey there!';

console.log(myGreeting.toLowerCase());

//output
//hey there!
Comment

javascript capitalize all letters

function capitalizeWords(string) {
   return string.replace(/(?:^|s)S/g, function(a) { return a.toUpperCase(); });
};
Comment

how to convert string to uppercase in javascript

const upperCase = (string) => {
  const newText = string.toUpperCase();
  return newText;
};
Comment

PREVIOUS NEXT
Code Example
Javascript :: .style.display 
Javascript :: scrollview scroll to bottom react native 
Javascript :: datatable visable show entries 
Javascript :: convert object to json javascript 
Javascript :: jsx if block 
Javascript :: jquery set value by id 
Javascript :: find max of array of objects key 
Javascript :: js loop every x seconds 
Javascript :: javascript get timestamp 
Javascript :: javascript call function on click give element id 
Javascript :: jquery ajax endpoint 
Javascript :: How to clear localStorage when browser/tab is closing 
Javascript :: instantiate object in script godot 
Javascript :: showing an image in react js 
Javascript :: javascript check date greater than today 
Javascript :: concurrently script 
Javascript :: react confirm alert 
Javascript :: html javascript redirect 
Javascript :: javascript redirect to another url example 
Javascript :: js replace all substrings 
Javascript :: cypress support ability to set viewport in `before` 
Javascript :: js trigger mouseover 
Javascript :: how to access model data in jsp spring mvc 
Javascript :: arry suffle javascript 
Javascript :: get input value in react using hooks 
Javascript :: jquery uncheck all other checkboxes when one is checked 
Javascript :: what is sus imposter 
Javascript :: jquery get location of user 
Javascript :: replace object in array javascript 
Javascript :: verify if number is not floating 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =