Methods not mutating data
concat()
const list = [0, 1];
const result = list.concat(2);
Процедура СкриптКонтролИнит(scriptCtrl) | |
scriptCtrl = СоздатьОбъект("MSScriptControl.ScriptControl"); | |
scriptCtrl.Language="jscript"; | |
код = " | |
| | |
| function parseJSON(strJSON) { | |
| var tmpFunc = (new Function('return('+strJSON+');'))(); | |
| return(tmpFunc); | |
| } | |
| |
const login = () => {
let Username = 'reacttest';
let Password = 'reacttest';
let authenticationDetails = new AuthenticationDetails({
Username,
Password
});
const login = () => {
let Username = 'reacttest';
let Password = 'reacttest';
let authenticationDetails = new AuthenticationDetails({
Username,
Password
});
``` | |
const login = () => { | |
let Username = 'reacttest'; | |
let Password = 'reacttest'; | |
let authenticationDetails = new AuthenticationDetails({ | |
Username, | |
Password | |
}); |
const login = () => {
let Username = 'reacttest';
let Password = 'reacttest';
let authenticationDetails = new AuthenticationDetails({
Username,
Password
});