Message from JavaScript discussions
May 2018
— Var anotherObject = { a: 2 }; var myObject = Object.create( anotherObject ); anotherObject.a; // 2 myObject.a; // 2 anotherObject.hasOwnProperty( "a" ); // true myObject.hasOwnProperty( "a" ); // false myObject.a++; // oops, implicit shadowing! anotherObject.a; // 2 myObject.a; // 3 myObject.hasOwnProperty( "a" ); // true
You copied it from the closed Issue in "You dont know JS". It's closed, because somebody argued that "implicit" is not implicit... imo, i dont see any "implicit" things there, everything is determined
— Hello guys! Can someone tell me how I can store image url which should be seen from my frontend into my database. I'm using postgres and sequelise ORM.
— Hi man, i don't know, where does it fail?
— How do you write a mongodb find statement
— It seems to return a null
— I only want to find a field of an object if it finds it it will return the whole object
— To get only one item
you can do find_one()
— And check if it is undefined
and then grab the whole thing
— I really. don't understand why mongodb is returning a null
— Can anyone kindly assist me
— Err is null, results are [] - empty array.. arguments for console.log