I’ve been wondering if we can consider this JS code a liked list because it looks like an infinity nested object that is pointing always at the same value.
const linkedList = {
add(){return linkedList}
};
conosole.log(linkedList.add().add().add());