When talking about Object’s properties, there are two types, namely enumerable one and unenumerable one. It is called enumerability of properties 1. ‘enumerable properties are ones whose internal [[Enumerable]] flag is set true, which is default for properties created via simple assignment or via a property initializer’.
Object.keys()
will return all enumerable properties of an object and getOwnPropertyNames
will return both enumerable and nonenumerable properties.
var t = 'abc'
, what would happen in compilerNote from this video Basic What’s concurrency ? Concurrency is the composition of independently executing computations. Concurrency is a way to structure software, particularly as a way to write clean...