data.reduce((acc, curr, i) => [...acc, ...data.slice(i + 1).map((item) => `${curr} - ${item}`)], []);
inputSearch.addEventListener('focus', function(){
list.classList.add('show');
inputSearch.addEventListener('keydown', function(e){
Object.keys(
$('.qq-upload-list .qq-upload-file').get()
.reduce((acc, curr) => ({...acc, [curr.textContent]: 1}), {})
).length;
card.addEventListener("click", timer.startTime.bind(timer));
илиcard.addEventListener("click", () => timer.startTime());
const smiles = {
1: 'smile for mobile version',
2: 'smile for iPhone',
// ...
};
function getSmile(user) {
return smiles[user.last_seen.platform];
}
function dist() {
return gulp.src('app/*.html')
.pipe(useref())
.pipe(gulpif('*.js', uglify()))
.pipe(gulpif('*.css', cleanCSS()))
.pipe(gulp.dest('dist'));
}
gulp.task('dist', gulp.series('clean', dist));
gulp.task
function sassToCss() {
// ...
}
exports.sass = sassToCss;
preg_match("/(?:\r|\n)[^']*?(#.*?)(?:\r|\n)/", $str, $arr);
var_dump($arr[1]);
$mesid = $data->object->id;
$request_params = array(
'message' => $retmes,
'forward_messages' => $mesid,
'chat_id' => '1',
'access_token' => $VK_TOKEN,
'v' => '5.81',
'random_id' => '0'
);
const form = document.querySelector('#promoCode');
form.childNodes.forEach((elem) => elem.nodeType === document.TEXT_NODE && elem.remove());