Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Masd925's full-sized avatar

Markus Kiili Masd925

  • Helsinki, Finland
View GitHub Profile
@Masd925
Masd925 / XHTML5 CSS base
Last active March 7, 2018 10:05
XHTML5/CSS base
XHTML5/CSS base
@Masd925
Masd925 / helper.js
Last active March 3, 2020 10:14
Javascript ES5 helper functions
function getAllPropertyNames (obj){
var result = [];
while (obj) {
Array.prototype.push.apply(result, Object.getOwnPropertyNames(obj));
obj = Object.getPrototypeOf(obj);
}
return result;
}
function getDefiningObject (obj, propKey) {
@Masd925
Masd925 / #Some FCC one-liner solutions
Last active April 6, 2017 10:46
Some one-liner solutions on FCC exercises. Most are my own doing. Some picked from FCC chat.
Some FCC one-liner solutions