// options
if (options) {
this.deep = !!options.deep
this.user = !!options.user
this.lazy = !!options.lazy
this.sync = !!options.sync
} else {
this.deep = this.user = this.lazy = this.sync = false
}
While i was trying to understand vue.js Watcher i saw this syntax !!options.deep
here i totally understand what !
means, but why would anyone want to use !!true
because it will give you true
again.
Thanks