Pinned Loading
-
-
-
Function to extend existing object b...
Function to extend existing object by mixing properties and methods from other objects 1function omixin(target, ...sources) {
23//This function works only when the target is an object
4if(typeof target === 'object') {
5 -
Function to extend a class by mixing...
Function to extend a class by mixing properties and methods from other objects or classes - composition not inheritance 1function cmixin(target, ...sources) {
2if(typeof target === 'function') {
3sources.forEach(source => {
45//When composing from an object
-
Function to mixin properties includi...
Function to mixin properties including getters and setters from one javascript object to another. 1function mixin(target, ...sources) {
23sources.forEach(source => {
45let descriptors = Object.keys(source).reduce((descriptors, key) => {
-
Bash Script to configure a new Larav...
Bash Script to configure a new Laravel application 1#!/usr/bin/env bash
23# Declare variables of type array to gather information regarding packages
4name="$1"
5with_jetstream=false
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.