[identity profile] squizz.livejournal.com posting in [community profile] ru_translate
Как правильно перевести на русский термин statement, если речь идет о языке JavaScript?
Пример: "For example, the statement <script src="javascript.js"></script> attaches the file javascript.js to the web page".
Заранее спасибо.

UPD: более адекватная цитата: "For example, the statement var the type = typeof theVar returns the variable type of the variable theVar and stores the value into the variable theType".

Date: 2006-03-09 09:02 pm (UTC)
From: [identity profile] moon-aka-sun.livejournal.com
В зависимости от контекста. В примере с JavaScript приведенный вами "statement" относится как раз не к JavaScript, а к HTML. Я бы перевёл как "фрагмент" или "тэг". В более адекватной цитате - "оператор" без всяких сомнений (хоть он ничего и не returns).

Profile

ru_translate: (Default)
Тотальный перевод

September 2017

S M T W T F S
      1 2
3 4567 89
10 11 1213 14 15 16
1718192021 22 23
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 22nd, 2025 11:03 pm
Powered by Dreamwidth Studios