PM
Size: a a a
PM
PM
A & B extends A | B
(я к вам из ТС пришёл)˸A
К
˸A
МТ
myWord = "anotherWord";Или
switch(myWord) {
case "word":
myWord = "Some text";
break;
case "anotherWord":
myWord = "Another text";
break;
case "oneMoreWord":
myWord = "One more";
break;
}
myWord = "anotherWord";?
let words = {
"word" : "Some text",
"anotherWord" : "Another text",
"oneMoreWord" : "One more"
};
myWord = words[myWord];
PM
myWord = "anotherWord";Или
switch(myWord) {
case "word":
myWord = "Some text";
break;
case "anotherWord":
myWord = "Another text";
break;
case "oneMoreWord":
myWord = "One more";
break;
}
myWord = "anotherWord";?
let words = {
"word" : "Some text",
"anotherWord" : "Another text",
"oneMoreWord" : "One more"
};
myWord = words[myWord];
МТ
МТ
PM
PM
МТ
МТ
МТ
˸A
myWord = "anotherWord";Или
switch(myWord) {
case "word":
myWord = "Some text";
break;
case "anotherWord":
myWord = "Another text";
break;
case "oneMoreWord":
myWord = "One more";
break;
}
myWord = "anotherWord";?
let words = {
"word" : "Some text",
"anotherWord" : "Another text",
"oneMoreWord" : "One more"
};
myWord = words[myWord];
PM
МТ
PM