Commit 25eb5184 authored by Quentin TONNEAU's avatar Quentin TONNEAU
Browse files

Update tools.ts

parent 3115aeed
/**
* Divers outils nécessaires au bon fonctionnement du projet
*/
export function copyObject(orig, deep) {
// 1. copy has same prototype as orig
var copy = Object.create(Object.getPrototypeOf(orig));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment