String::NewSymbol()

18 views
Skip to first unread message

Paul Harris

unread,
Dec 10, 2012, 11:36:39 PM12/10/12
to v8-u...@googlegroups.com
Hello,

Is it good policy to always use String::NewSymbol() instead of String::New() when dealing with identifiers for properties, eg "length".

thanks,
Paul

Yang Guo

unread,
Dec 11, 2012, 4:32:52 AM12/11/12
to v8-u...@googlegroups.com
Yes.
Reply all
Reply to author
Forward
0 new messages