mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-31 01:28:30 +08:00
@ -16,7 +16,7 @@ const Sandbox = require("sandbox")
|
|||||||
|
|
||||||
s.run( "lol)hai", function( output ) {
|
s.run( "lol)hai", function( output ) {
|
||||||
console.log(output);
|
console.log(output);
|
||||||
//output='Synatx error'
|
//output='Syntax error'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Exemplo 4 - Código restrito
|
// Exemplo 4 - Código restrito
|
||||||
|
|||||||
@ -16,7 +16,7 @@ const s = new Sandbox();
|
|||||||
|
|
||||||
s.run( "lol)hai", function( output ) {
|
s.run( "lol)hai", function( output ) {
|
||||||
console.log(output);
|
console.log(output);
|
||||||
//output='Synatx error'
|
//output='Syntax error'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Example 4 - Restricted code
|
// Example 4 - Restricted code
|
||||||
|
|||||||
@ -16,7 +16,7 @@ const Sandbox = require("sandbox")
|
|||||||
|
|
||||||
s.run( "lol)hai", function( output ) {
|
s.run( "lol)hai", function( output ) {
|
||||||
console.log(output);
|
console.log(output);
|
||||||
//output='Synatx error'
|
//output='Syntax error'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Example 4 - Restricted code
|
// Example 4 - Restricted code
|
||||||
|
|||||||
Reference in New Issue
Block a user