[ create a new paste ] login | about

Link: http://codepad.org/6YPOFtrM    [ raw code | output | fork ]

Lua, pasted on Jan 10:
1
2
3
4
5
6
v8::Local<v8::ObjectTemplate> global = v8::ObjectTemplate::New(isolate);
  // Bind the global 'print' function to the C++ Print callback.
  global->Set(
      v8::String::NewFromUtf8(isolate, "print", v8::NewStringType::kNormal)
          .ToLocalChecked(),
      v8::FunctionTemplate::New(isolate, Print));


Output:
1
line 1: '<name>' expected near ':'


Create a new paste based on this one


Comments: