Focusing
-
AppsFlyer
- israel
Block or Report
Block or report sag1v
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
react-elastic-carousel Public
A flexible and responsive carousel component for react https://sag1v.github.io/react-elastic-carousel
-
-
-
1
function typeCheck(obj, definition) {
2return new Proxy(obj, {
3set(obj, key, value) {
4if (key in definition && typeof value !== definition[key]) {
5throw new TypeError(`Invalid type of ${key} '${typeof value}'. expected to be '${definition[key]}'`)
-
OOP-Javascript-Presentation Public
JavaScript presentation about OOP (using Spectacle) https://sag1v.github.io/OOP-Javascript-Presentation/
-
1
const stripLast = arr => {
2// split the last item from an array and return a tupple of [rest, last]
3const length = arr.length;
4const lastItem = arr[length - 1];
5const restOfArr = arr.slice(0, length - 1);