Skip to content

Instantly share code, notes, and snippets.

View lprashant-94's full-sized avatar

Prashant Lokhande lprashant-94

View GitHub Profile
@lprashant-94
lprashant-94 / a.html
Created December 5, 2018 12:40
Bug Test
<html>
<script>
var p = new Proxy([], {});
var b_dp = Object.prototype.defineProperty;
class MyArray extends Array {
static get [Symbol.species]() { return function() { return p; }}; // custom constructor which returns a proxy object
}
var w = new MyArray(100);
@lprashant-94
lprashant-94 / GitCommitEmoji.md
Created April 9, 2018 05:27 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji