tag:blogger.com,1999:blog-865923359735383241.post3213253930872137064..comments2023-10-29T07:27:09.012-06:00Comments on Ccna final exam - java, php, javascript, ios, cshap all in one: What does | in this code mean?Unknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-865923359735383241.post-13059478460922421572012-04-08T20:36:44.350-06:002012-04-08T20:36:44.350-06:00There's no "<|". I think it's...There's no "<|". I think it's a mistake and there should be "||".Tips For Allhttp://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-14925185538668094782012-04-08T20:36:43.693-06:002012-04-08T20:36:43.693-06:00It means syntax error - invalid JavaScript constru...It means syntax error - invalid JavaScript construct.Tips For Allhttp://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-38114735161234806602012-04-08T20:36:43.002-06:002012-04-08T20:36:43.002-06:00That throws a syntax error for me ("unexpecte...That throws a syntax error for me ("unexpected token" on the "|")<br><br>For A complete list of javascript operators go hereTips For Allhttp://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-61304822194550998002012-04-08T20:36:41.436-06:002012-04-08T20:36:41.436-06:00Now that you have posted the link to the source, y...Now that you have posted the link to the source, you can see in the comments at the top of the file exactly what it does (line 36):<br><br><br> the <| operator -- defines the [[Prototype]] of a literal...<br> <br> For these examples <| used with a function expression sets the<br> [[Prototype]] of the object created as the value of the function's<br> "prototype" property to the value of the "prototype" property of the<br> the LHS object. This is in addition to setting the [[Prototype]] of<br> the function object itself. In other words, it builds sets the<br> [[Prototype]] of both the function and of function.prototype to<br> potentially different values.Tips For Allhttp://www.blogger.com/profile/11557173689529910046noreply@blogger.com