Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ecmascript 5

Javascript Defineproperty To Make An Attribute Non Enumerable

I'm trying to use defineProperty to made attributes not appear in for...in cycle, but it doesn&… Read more Javascript Defineproperty To Make An Attribute Non Enumerable

Avoid Adding Methods And Properties To Custom Object

I'm using a base custom object extended with prototype function Person() {} Person.prototype.N… Read more Avoid Adding Methods And Properties To Custom Object

Functional Javascript Programming - Making A Modal, A Popup, And Refactoring It

I'm using ES5. I'm learning JavaScript. I did this modal, but I want to re-factor the code … Read more Functional Javascript Programming - Making A Modal, A Popup, And Refactoring It

Assign New Property To Empty Object Which Has Frozen Prototype

Why can't I assign new properties to non-frozen object, which has frozen prototype: Working wit… Read more Assign New Property To Empty Object Which Has Frozen Prototype

Javascript Hoisting Var Vs Let

I'm learning some ES6 features and of course came across the let keyword and its new scope (dif… Read more Javascript Hoisting Var Vs Let

How To Inject Custom Service To Angular Component In Plain Es5 (javascript)?

I have a working angular2 Component. I implemented a class for some service (using ng.core.Class if… Read more How To Inject Custom Service To Angular Component In Plain Es5 (javascript)?