String JavaScript Ostatnie dwa postacie
var member = "my name is Mate";
var last2 = member.slice(-2);
alert(last2); // "te"
Frightened Flatworm
var member = "my name is Mate";
var last2 = member.slice(-2);
alert(last2); // "te"