First, the code is using the comma operator in JavaScript that evaluate everything but only return the last element. For example var a = 1, 2, 3; will always be equal to 3 because only the last item gets returned.
With this in mind, let's look at the piece of code you didn't understand:
(console.log("runned"), c = !0, !1)
Due to the comma operator, this breaks up into three expressions that will be evaluated in a sequence:
console.log("runned")
Will print the given word in the console.
c = !0
Will assign the value of true to the variable c. This is because zero is a falsey value which when converted to the opposite using the not operator ! produces true.
`!1`
Finally the result of this expression will be returned from the entire section inside the brackets. Similar to the above, this uses the fact that 1 is a truthy value, so !1 will yield false.
So, taken as a whole, the code will print, assign a value, and return a value all in one line.
Given the syntax and the variables used, my assumption is that this is minified code. Minification uses the language rules in a similar manner in order to reduce the amount of characters used. In partucular !0 and !1 are very common replacements of true and false because they latter are at least half the length.