Tags » Javascript

Javascript Module: Basic Desing and Pattern

1. Creating a Module
First we need to understand about “Immediately Invoked Function Expression (IIFE)”. These IIFEs are simple function when declared, are called immediately. 322 more words

Javascript

A simple benchmark function that I made for small tests


A simple benchmark function that I made for small tests

It might be useful to someone else :)

http://ift.tt/2cUhadz

Submitted September 28, 2016 at 09:31AM by MarcoWorms… 7 more words

Reddit

Jasmine asserts for mochajs (with mocking)


Jasmine asserts for mochajs (with mocking)
http://ift.tt/1OqfAzm

Submitted September 28, 2016 at 08:20AM by pawelgalazka
via reddit http://ift.tt/2cJJmT0

Reddit

Design question: Documenting required "interface"


Design question: Documenting required “interface”

How do you communicate the intent that an object should have specific methods? For example, I have the following method templates: 35 more words

Reddit

SimpleState - A humble attempt at state management


SimpleState – A humble attempt at state management

I've been working with Redux a lot and it's amazing, but like a lot of people in the community I get the urge to build replacements for things that already work fine ;). 87 more words

Reddit

JavaScript - Updating a canvas real-time... from server-side or client-side (array from server to client or server-side canvas rendering?)


JavaScript – Updating a canvas real-time… from server-side or client-side (array from server to client or server-side canvas rendering?)

I have this 2D tilemap game 13×13 viewport (169 tiles drawn on canvas at a time) of a 150×150 map. 219 more words

Reddit

anybody else frustrated by JavaScript starting out?


anybody else frustrated by JavaScript starting out?

I'm a university student who has learned c++ , and in my own time python. JavaScript I'm having a hard time with. 98 more words

Reddit