I hereby claim:
- I am biirus on github.
- I am biirus (https://keybase.io/biirus) on keybase.
- I have a public key ASBj1J5KvYi8R_22RdoyEhcAV3eMffwvjAzimL9n4bMK3wo
To claim this, I am signing this object:
import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/react/24/solid' | |
import clsxm from 'lib/clsxm' | |
import { FC, HTMLAttributes } from 'react' | |
type ArrowProps = { | |
disabled?: boolean | |
} & HTMLAttributes<HTMLDivElement> | |
const ArrowButton: FC<ArrowProps> = ({ disabled, className, children }) => { | |
return ( |
SC.loadImages = (() => { | |
function loadImages(urls) { | |
let abort; | |
let isAborted = false; | |
const startTime = Date.now(); | |
const imagesPromise = new Promise((resolve, reject) => { | |
let tasks = []; |
const sanitize = (rules, values) => { | |
return Object.keys(values).reduce( | |
(values, field) => { | |
const fieldRules = rules[field]; | |
if (fieldRules) { | |
values[field] = fieldRules.reduce((val, fn) => fn(val), values[field]); | |
} | |
return values; |
I hereby claim:
To claim this, I am signing this object:
function getObject() | |
{ | |
return | |
{ | |
subject: 'Human', | |
kingdom: 'Animalia', | |
phylum: 'Chordata', | |
class: 'Mammalia', | |
order: 'Primates', | |
} |
var child = { | |
age: 3, | |
name: 'Ivan', | |
hello: function () { | |
console.log(this.name + ', ' + this.age); | |
} | |
}; | |
child.hello(); | |
setTimeout(child.hello, 1000); |
add (5, 2); // 7 | |
add (5)(3); // 8 |
var x = 1; | |
(function () { | |
var x = 2; | |
f(); | |
})(); | |
function f () { | |
console.log(x); | |
} |
var i, btn; | |
for (i = 0; i < 3; i++) { | |
btn = $('<input/>', {type: 'button'}); | |
btn.click(function () { | |
console.log(i); | |
}); | |
$('body').append(btn); |
+function () { | |
var x = a = 2; | |
}(); | |
console.log(a); | |
console.log(x); |