diff --git a/snippets/javascript.snippets b/snippets/javascript.snippets index cf543e8..2901587 100644 --- a/snippets/javascript.snippets +++ b/snippets/javascript.snippets @@ -156,7 +156,7 @@ snippet sing } # Crockford's object function snippet obj - object(o) { + function object(o) { function F() {} F.prototype = o; return new F();