caesar cipher javascript code
const caesar = (text, shift) => {
return String.fromCharCode(
...text.split('').map(char => ((char.charCodeAt() - 97 + shift) % 26) + 97),
);
};
Also in JavaScript:
- move navbar items to right with reactbootstrap
- js indexof
- radio unchecked
- javascript algorithms
- javascript loop an array check if a number is even
- if string have any digits javascript
- react error boundary
- hi
- make nextjs project
- how to get session value using javascript
- how to get the selected index of dropdown in jquery
- javascript redirect new window
- javascript change select options dynamically
- is a letter javascript
- how to go to next line in javascript
- how to check if map is map javascript
- multiline comment in react
- javascript tofixed 2
- how to add script before </body> in magento 2
- how to check version of node js in cmd
- return the value of a selected option in a drop-down list
- js check if object is empty
- vuex.esm.js
- javascript keywords