Saturday, May 21, 2022

That in JavaScript works

console.log('divina'.slice(2));

Here I am using a method for strings without even making an variable for it applying directly the string

console.log('divina'.slice(2));
VM1286:1 
vina
undefined

Rute Bezerra de Menezes Gondim

No comments:

Post a Comment