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

Javascript - Extend An Es6 Class In Es5

I am using the following code for a slider with Siema: https://codepen.io/pawelgrzybek/pen/boQQWy W… Read more Javascript - Extend An Es6 Class In Es5

Access The Value Of Symbol(id) Property On An Object

I have an object fetched from 3rd party API as shown below: { name:'Luke Skywalker', … Read more Access The Value Of Symbol(id) Property On An Object

Why Do We Use `boy.prototype = New Human;` To Simulate Inheritance?

i don't get why everyone is using Boy.prototype = new Human; to simulate inheritance. Look, wha… Read more Why Do We Use `boy.prototype = New Human;` To Simulate Inheritance?

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

Using Try Catch On Error Generated By Asynchronous Callback Function

I am trying to catch an error caused by an async javascript callback function, try{ setTimeout(()… Read more Using Try Catch On Error Generated By Asynchronous Callback Function

Weird Output Of [97,98].map(string.fromcharcode)

this works as expected [97,98].map(function(x){String.fromCharCode(x)}) // [ 'a', 'b… Read more Weird Output Of [97,98].map(string.fromcharcode)

How To Transform The Image Pattern In Javascript Canvas Fillingstyle?

I'm currently developing a 2D graphic library in JavaScript, and now I'm sticking with the … Read more How To Transform The Image Pattern In Javascript Canvas Fillingstyle?

Accessing A Folder To List/play Clips One By One

I just want to know if there is an object to access a folder path which includes list of clips in j… Read more Accessing A Folder To List/play Clips One By One