Front-end-Developer-Interview-Questions icon indicating copy to clipboard operation
Front-end-Developer-Interview-Questions copied to clipboard

你是否正在或曾经在一艘船上。

Open nocoo opened this issue 14 years ago • 2 comments

应当是要求解释关于黑客帝国的情景。 类似于,如何判定你现在活在真实的世界,还是在一艘船上,思想在一个超级计算机里。

nocoo avatar Oct 24 '12 02:10 nocoo

I used Google Translate to try and translate your issue (http://translate.google.com/). Let me know if this is an accurate translation:

Title: "Are you being or used on a boat." ~ "Are you now, or have you ever been, on a boat." Description: "Should be asked to explain the scene of the Matrix. Similar to how determined you live in the real world, or in a boat, thinking in a supercomputer."

I'm not sure if living in the Matrix is very relevant to having ever been on a boat. That said, I think this line of thinking is pretty funny and could be incorporated. Come up with a good question and I'll try to translate it as best as I can.

darcyclarke avatar Nov 05 '12 15:11 darcyclarke

I'm Chinese, your translation is mostly accurate.

The second version of title is better.

应当是要求解释关于黑客帝国的情景

This sentence can have a better translation: "I guess it's asked to explain a scene of the Matrix."

I have a question which I think it's funny: "What will these console.log output?"

var obj = { name: 'foo' };
(function (baseType, referType) {
  baseType = 2;
  referType = { name: 'bar' };
  console.log( arguments[0] );
  console.log( arguments[1].name );

  arguments[0] = 3;
  arguments[1] = { name: 'baz' };
  console.log(baseType);
  console.log(referType.name);
})(1, obj);

It's funny that even if overrided, form parameters share live values with properties of arguments object respectively! Unlike usual behaviors:

var foo = { name: 'foo' };
var bar = foo;
bar = { name: 'bar' };
console.log( bar.name ); // output 'bar'

kerryChen95 avatar Mar 27 '13 13:03 kerryChen95