Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>UPDATE:</strong></p> <p>Whatever the code you're looking at (and you should edit your post to include an example) it is not pure Javascript, because Javascript syntax does not use any @ signs.</p> <p>If you want to confirm that for yourself, you can go through the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference" rel="nofollow noreferrer">Javascript syntax reference page on the Mozilla Developer Network</a>.</p> <p>I've added examples of code that does use @@ here to help you identify your code.</p> <p>This is most likely <strong>C# Razor</strong> syntax:</p> <pre><code>&lt;span&gt;In Razor, you use the @@foo to display the value of foo&lt;/span&gt; </code></pre> <p>It is used to escape the @ when you want to print the @ and not a variable.</p> <p>Source: <a href="http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx" rel="nofollow noreferrer">http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx</a></p> <p>It could be <strong>Ruby</strong> syntax:</p> <pre><code>def self.debug return @@debug end </code></pre> <p>In Ruby @@ indicates a class variable.</p> <p>Ref: <a href="https://stackoverflow.com/a/5890199/1005039">https://stackoverflow.com/a/5890199/1005039</a></p> <p>It could also be <strong>MySQL</strong> syntax:</p> <pre><code>set debug= 'T'; select @@debug; @@debug T set debug= '+P'; select @@debug; @@debug P:T set debug= '-P'; select @@debug; @@debug T </code></pre> <p>In MySQL, @@ indicates variables</p> <p>Source: <a href="http://dev.mysql.com/doc/refman/5.0/en/set-statement.html" rel="nofollow noreferrer">http://dev.mysql.com/doc/refman/5.0/en/set-statement.html</a></p> <p>It could also be <strong>PostgreSQL</strong> syntax:</p> <pre><code>SELECT description FROM product WHERE description @@ '%apple%' </code></pre> <p>Source: <a href="https://stackoverflow.com/questions/14835866/postgres-match-operator">Postgres match operator @@</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload