Modifying the native JavaScript objects leads to unexpected behaviour.
We use this within a sandboxed environment. Don't use this for your website.
Turn the first character of a string into uppercase.
Turn a sentense into CamelCase.
Turn the string into an integer using parseInt
.
Turn the string into an float using parseFloat
.
Turn the string into a Date object with 'date' format, using moment.js.
Turn the string into a Date object with 'date time' format, using moment.js.
Turn the string into a Date object with 'time' format, using moment.js.
Turn the string into a Date object, than format that date.
Turn the string into a Date object, than add a period.
Turn the string into a Date object, than substract a period.
Split the string on a line break, than turn the lines into an unordered (<ul>
) or ordered (<ol>
) list.
Create an unordered (<ul>
) or ordered (<ol>
) list with each item in the array.
Join the items of array with a komma.
Minimal polyfill of Array.includes.
Polyfill of Array.isArray.
Spell out the numbers using the spell-it library.
window.spell = spellit('fr');
var number = 42;
console.log(number.spelledOut());
// fourty two