Skip to content

Instantly share code, notes, and snippets.

You are my CSS

1da lyyourc

You are my CSS
Block or report user

Report or block lyyourc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nestStringProperties.js
function nestStringProperties(obj) {
if (!obj) {
return {};
const isPlainObject = obj => !!obj && obj.constructor === {}.constructor;
const getNestedObject = obj => Object.entries(obj).reduce((result, [prop, val]) => {
prop.split('.').reduce((nestedResult, prop, propIndex, propArray) => {
const lastProp = propIndex === propArray.length - 1;
lyyourc / RxJS 5 Operators By
Last active Jun 3, 2017
「译」RxJS 5 Operators By Example
You can’t perform that action at this time.