Hi guys,
Have a look at following code

let bigint = Object(1n)
console.log(1n.__proto__===bigint.__proto__)
console.log(typeof 1n)
console.log(typeof bigint)

the output is
true      // A
bigint   // B
object  // C
why while at A is true but at B is bigint (not the expected object)? or
why at C is not bigint?
If when 1n.__proto__ is evaluated, the 1n is implicitly converted to an 
Object, why the following code does not work?
1.__proto__    // SyntaxError: Invalid or unexpected token
Many thanks!

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/7eea2560-fdf0-42c9-8b58-d6a66aef18b2n%40googlegroups.com.

Reply via email to